summaryrefslogtreecommitdiff
path: root/shell/bbsh.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-11 17:03:19 +0000
committerDenis Vlasenko2007-04-11 17:03:19 +0000
commite4f2d064b0fcffc8897089e1c80e6e2d61b6805d (patch)
treefe03aa276fa5396402dc2bc88fccb7559626b976 /shell/bbsh.c
parent12c96a64a4b7ab75cb0e4a7dfde8960c4391b2a8 (diff)
downloadbusybox-e4f2d064b0fcffc8897089e1c80e6e2d61b6805d.zip
busybox-e4f2d064b0fcffc8897089e1c80e6e2d61b6805d.tar.gz
rename: run_applet_by_name -> run_applet_and_exit
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 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);