aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/hush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 3ad6a9724..4740929e8 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);