mirror of
https://github.com/Savapitech/42sh.git
synced 2026-03-18 21:50:35 +01:00
[FIX]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user