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 06fd013..6bef368 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c @@ -165,7 +165,7 @@ static int run_pipeline(struct pipeline *line) int status; pid_t pid=fork(); if(!pid) { - run_applet_by_name(cmd->argv[0],cmd->argc,cmd->argv); + 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); |