[git commit] hush: "no logic changes" in last commit was not true, fix it up

Denys Vlasenko vda.linux at googlemail.com
Thu Apr 5 11:10:34 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=4e1dc539e97300c44589eff8baffd12c95a13d5f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/hush.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);


More information about the busybox-cvs mailing list