aboutsummaryrefslogtreecommitdiff
path: root/shell/bbsh.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
commit636a1f85e89432601c59cdc3239fc867b4adf051 (patch)
treed43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /shell/bbsh.c
parentcb83abd7b6b052224c1f3b998e863aac76914afd (diff)
downloadbusybox-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'shell/bbsh.c')
-rw-r--r--shell/bbsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/bbsh.c b/shell/bbsh.c
index 02e60508f..5386bb097 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);
}