diff options
author | Denis Vlasenko | 2007-04-11 17:03:19 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-04-11 17:03:19 +0000 |
commit | e4f2d064b0fcffc8897089e1c80e6e2d61b6805d (patch) | |
tree | fe03aa276fa5396402dc2bc88fccb7559626b976 /shell | |
parent | 12c96a64a4b7ab75cb0e4a7dfde8960c4391b2a8 (diff) | |
download | busybox-e4f2d064b0fcffc8897089e1c80e6e2d61b6805d.zip busybox-e4f2d064b0fcffc8897089e1c80e6e2d61b6805d.tar.gz |
rename: run_applet_by_name -> run_applet_and_exit
Diffstat (limited to 'shell')
-rw-r--r-- | shell/bbsh.c | 2 | ||||
-rw-r--r-- | shell/hush.c | 2 | ||||
-rw-r--r-- | shell/lash.c | 2 | ||||
-rw-r--r-- | shell/msh.c | 2 |
4 files changed, 4 insertions, 4 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); diff --git a/shell/hush.c b/shell/hush.c index f6c69a2..3048d69 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1123,7 +1123,7 @@ static void pseudo_exec(struct child_prog *child) /**/; optind = 1; debug_printf("running applet %s\n", name); - run_applet_by_name(name, argc_l, child->argv); + run_applet_and_exit(name, argc_l, child->argv); } #endif debug_printf("exec of %s\n", child->argv[0]); diff --git a/shell/lash.c b/shell/lash.c index 99e2b1f..f91bec2 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1170,7 +1170,7 @@ static int pseudo_exec(struct child_prog *child) for (argc_l = 0; *argv_l; argv_l++, argc_l++); optind = 1; - run_applet_by_name(child->argv[0], argc_l, child->argv); + run_applet_and_exit(child->argv[0], argc_l, child->argv); } execvp(child->argv[0], child->argv); diff --git a/shell/msh.c b/shell/msh.c index 0337a4f..963e594 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -3068,7 +3068,7 @@ static const char *rexecve(char *c, char **v, char **envp) optind = 1; if (find_applet_by_name(name)) { /* We have to exec here since we vforked. Running - * run_applet_by_name() won't work and bad things + * run_applet_and_exit() won't work and bad things * will happen. */ execve(CONFIG_BUSYBOX_EXEC_PATH, v, envp); } |