mirror of
https://github.com/sheumann/hush.git
synced 2024-08-26 12:29:04 +00:00
hush: trivial buglet found by randomconfig testing
This commit is contained in:
parent
4b924f3a5c
commit
27f79ff03d
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user