aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-04-05 13:10:34 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-04-05 13:10:34 +0200
commit4e1dc539e97300c44589eff8baffd12c95a13d5f (patch)
tree0504124afd3da6112d432b1efb3eddeac6655adf /shell
parent34f6b12330a13194057b49a74ca14362c2a332fa (diff)
downloadbusybox-4e1dc539e97300c44589eff8baffd12c95a13d5f.tar.gz
hush: "no logic changes" in last commit was not true, fix it up
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 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);