summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 3ad6a97..4740929 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -8419,7 +8419,8 @@ static NOINLINE int run_pipe(struct pipe *pi)
*/
rcode = run_nofork_applet(n, argv_expanded);
}
- }
+ } else
+ goto must_fork;
leave_var_nest_level();
add_vars(old_vars);