From 9745cad74a4190887f96ba8d95b7ed01166bca4f Mon Sep 17 00:00:00 2001 From: Arthur-gtr Date: Thu, 17 Apr 2025 19:52:00 +0200 Subject: [PATCH] [FIX] --- src/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell.c b/src/shell.c index b06723d..3ce1dd0 100644 --- a/src/shell.c +++ b/src/shell.c @@ -84,7 +84,7 @@ int shell_loop(int is_a_tty, exec_ctx_t *exec_ctx) while (true) { write_prompt(is_a_tty); - if (change_shell_command(&buffer, exec_ctx, buffer_sz) == falsel) + if (change_shell_command(&buffer, exec_ctx, buffer_sz) == false) return exec_ctx->history->last_exit_code; } free(exec_ctx->history_command);