From 4e1dc539e97300c44589eff8baffd12c95a13d5f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 5 Apr 2018 13:10:34 +0200 Subject: hush: "no logic changes" in last commit was not true, fix it up Signed-off-by: Denys Vlasenko --- shell/hush.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell') 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); -- cgit v1.1