diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-30 00:55:52 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-30 00:55:52 +0000 |
commit | 30c4d0d5b8f663f068b21ceddf4b6a0218351800 (patch) | |
tree | 9e4af002a86fbc91ddd80df1a7096b8a5ce09995 | |
parent | 1be4cb859b3f084a18161e9b075560cbec2218e8 (diff) | |
download | busybox-w32-30c4d0d5b8f663f068b21ceddf4b6a0218351800.tar.gz busybox-w32-30c4d0d5b8f663f068b21ceddf4b6a0218351800.tar.bz2 busybox-w32-30c4d0d5b8f663f068b21ceddf4b6a0218351800.zip |
hush: trivial buglet found by randomconfig testing
git-svn-id: svn://busybox.net/trunk/busybox@18704 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | shell/hush.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
3151 | close(channel[1]); | 3151 | close(channel[1]); |
3152 | } | 3152 | } |
3153 | /* Prevent it from trying to handle ctrl-z etc */ | 3153 | /* Prevent it from trying to handle ctrl-z etc */ |
3154 | #if ENABLE_HUSH_JOB | ||
3154 | run_list_level = 1; | 3155 | run_list_level = 1; |
3156 | #endif | ||
3155 | /* Process substitution is not considered to be usual | 3157 | /* Process substitution is not considered to be usual |
3156 | * 'command execution'. | 3158 | * 'command execution'. |
3157 | * SUSv3 says ctrl-Z should be ignored, ctrl-C should not. */ | 3159 | * SUSv3 says ctrl-Z should be ignored, ctrl-C should not. */ |