aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-04 16:30:29 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-04 16:30:29 +0000
commitbebfacef6855ff97429e4aebe533a68ee42a0dc3 (patch)
tree196ec3b37b30f3fbb924e7d345303eac5794c9ad /shell
parent1a515047c42e0ba1fc1068f55660eaddaf5407e1 (diff)
downloadbusybox-w32-bebfacef6855ff97429e4aebe533a68ee42a0dc3.tar.gz
busybox-w32-bebfacef6855ff97429e4aebe533a68ee42a0dc3.tar.bz2
busybox-w32-bebfacef6855ff97429e4aebe533a68ee42a0dc3.zip
If it fails to run a builtin, let it fall through to
exec the real thing. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2531 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index a7316f82e..71e40489d 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1019,7 +1019,6 @@ static void pseudo_exec(struct child_prog *child)
1019 optind = 1; 1019 optind = 1;
1020 debug_printf("running applet %s\n", name); 1020 debug_printf("running applet %s\n", name);
1021 run_applet_by_name(name, argc_l, child->argv); 1021 run_applet_by_name(name, argc_l, child->argv);
1022 exit(1);
1023 } 1022 }
1024#endif 1023#endif
1025 debug_printf("exec of %s\n",child->argv[0]); 1024 debug_printf("exec of %s\n",child->argv[0]);