diff --git a/Shell/main.cpp b/Shell/main.cpp index 43765eb11c..916693332b 100644 --- a/Shell/main.cpp +++ b/Shell/main.cpp @@ -754,7 +754,7 @@ static int run_command(const String& cmd) fprintf(stderr, "%s: Command not found.\n", argv[0]); else fprintf(stderr, "execvp(%s): %s\n", argv[0], strerror(errno)); - exit(1); + _exit(1); } ASSERT_NOT_REACHED(); }