diff options
Diffstat (limited to 'shell/bbsh.c')
-rw-r--r-- | shell/bbsh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/bbsh.c b/shell/bbsh.c index 02e6050..5386bb0 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c @@ -168,7 +168,7 @@ static int run_pipeline(struct pipeline *line) run_applet_and_exit(cmd->argv[0],cmd->argc,cmd->argv); execvp(cmd->argv[0],cmd->argv); printf("No %s",cmd->argv[0]); - exit(1); + exit(EXIT_FAILURE); } else waitpid(pid, &status, 0); } |