diff options
author | Eric Andersen | 2001-05-04 16:30:29 +0000 |
---|---|---|
committer | Eric Andersen | 2001-05-04 16:30:29 +0000 |
commit | e5ffb911e89f244c7edcfe197c71b4b5e5955310 (patch) | |
tree | 196ec3b37b30f3fbb924e7d345303eac5794c9ad | |
parent | e6bf66eada0a5d34d2a04fba1638d3f7dc5cd276 (diff) | |
download | busybox-e5ffb911e89f244c7edcfe197c71b4b5e5955310.zip busybox-e5ffb911e89f244c7edcfe197c71b4b5e5955310.tar.gz |
If it fails to run a builtin, let it fall through to
exec the real thing.
-Erik
-rw-r--r-- | hush.c | 1 | ||||
-rw-r--r-- | shell/hush.c | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -1019,7 +1019,6 @@ 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); - exit(1); } #endif debug_printf("exec of %s\n",child->argv[0]); diff --git a/shell/hush.c b/shell/hush.c index a7316f8..71e4048 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1019,7 +1019,6 @@ 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); - exit(1); } #endif debug_printf("exec of %s\n",child->argv[0]); |