From 30c4d0d5b8f663f068b21ceddf4b6a0218351800 Mon Sep 17 00:00:00 2001 From: vda Date: Wed, 30 May 2007 00:55:52 +0000 Subject: hush: trivial buglet found by randomconfig testing git-svn-id: svn://busybox.net/trunk/busybox@18704 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/hush.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/hush.c b/shell/hush.c index 7aad6e6e4..2a4076ed2 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -3151,7 +3151,9 @@ static FILE *generate_stream_from_list(struct pipe *head) close(channel[1]); } /* Prevent it from trying to handle ctrl-z etc */ +#if ENABLE_HUSH_JOB run_list_level = 1; +#endif /* Process substitution is not considered to be usual * 'command execution'. * SUSv3 says ctrl-Z should be ignored, ctrl-C should not. */ -- cgit v1.2.3-55-g6feb