aboutsummaryrefslogtreecommitdiff
path: root/shell/bbsh.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-11 17:03:19 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-11 17:03:19 +0000
commit9a5db51b503eba9c9b58ceabbf03869930429565 (patch)
treefe03aa276fa5396402dc2bc88fccb7559626b976 /shell/bbsh.c
parent9e02dd5233d637966f7b94d666033b8109cbd155 (diff)
downloadbusybox-w32-9a5db51b503eba9c9b58ceabbf03869930429565.tar.gz
busybox-w32-9a5db51b503eba9c9b58ceabbf03869930429565.tar.bz2
busybox-w32-9a5db51b503eba9c9b58ceabbf03869930429565.zip
rename: run_applet_by_name -> run_applet_and_exit
git-svn-id: svn://busybox.net/trunk/busybox@18402 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 06fd0131e..6bef3685a 100644
--- a/shell/bbsh.c
+++ b/shell/bbsh.c
@@ -165,7 +165,7 @@ static int run_pipeline(struct pipeline *line)
165 int status; 165 int status;
166 pid_t pid=fork(); 166 pid_t pid=fork();
167 if(!pid) { 167 if(!pid) {
168 run_applet_by_name(cmd->argv[0],cmd->argc,cmd->argv); 168 run_applet_and_exit(cmd->argv[0],cmd->argc,cmd->argv);
169 execvp(cmd->argv[0],cmd->argv); 169 execvp(cmd->argv[0],cmd->argv);
170 printf("No %s",cmd->argv[0]); 170 printf("No %s",cmd->argv[0]);
171 exit(1); 171 exit(1);