diff --git a/apps/src/sh.c b/apps/src/sh.c index c1310fb3..9f79a976 100644 --- a/apps/src/sh.c +++ b/apps/src/sh.c @@ -197,6 +197,7 @@ void command_execute(command* cmd) } int exit_status = WEXITSTATUS(status); if (exit_status == -2 || exit_status == -3) printf("(PID %ld) Segmentation fault\n", result); + if (exit_status == -1) printf("(PID %ld) Aborted\n", result); command_clear(cmd); show_prompt(); }