From e5ffb911e89f244c7edcfe197c71b4b5e5955310 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 4 May 2001 16:30:29 +0000 Subject: If it fails to run a builtin, let it fall through to exec the real thing. -Erik --- hush.c | 1 - shell/hush.c | 1 - 2 files changed, 2 deletions(-) diff --git a/hush.c b/hush.c index a7316f82e..71e40489d 100644 --- a/hush.c +++ b/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]); 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) 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]); -- cgit v1.2.3