hush: fix "wait -n" to wait for a _job_, not a _process_
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 27 Mar 2019 17:34:10 +0000 (18:34 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 27 Mar 2019 17:35:19 +0000 (18:35 +0100)
commite6f51ac6975963e538a28fe2060dd4511143449b
tree48b6e06e1f0a23f3b5cb1ff8db0e8b313b5b27f0
parent966f087ab41e555fb40a158e7feae7603b31d450
hush: fix "wait -n" to wait for a _job_, not a _process_

function                                             old     new   delta
checkjobs                                            163     183     +20
process_wait_result                                  449     463     +14
leave_var_nest_level                                  98     107      +9
enter_var_nest_level                                  32      38      +6
set_vars_and_save_old                                147     150      +3
builtin_local                                         53      56      +3
builtin_wait                                         322     323      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 7/0 up/down: 56/0)               Total: 56 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c