aboutsummaryrefslogtreecommitdiff
path: root/shell/lash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/lash.c')
-rw-r--r--shell/lash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 99e2b1f06..f91bec254 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);