diff options
author | Denys Vlasenko | 2016-10-28 22:39:12 +0200 |
---|---|---|
committer | Denys Vlasenko | 2016-10-28 22:39:12 +0200 |
commit | 9db74e49e5b462089c6eec0182d819c0d4708e57 (patch) | |
tree | 79195e02400d0b0bd17f409325db01cf79f03dd6 /shell/hush_test/.gitignore | |
parent | 7e6753609d102b68a625072fb1660065246a54e2 (diff) | |
download | busybox-9db74e49e5b462089c6eec0182d819c0d4708e57.zip busybox-9db74e49e5b462089c6eec0182d819c0d4708e57.tar.gz |
hush: fix "(sleep 1; exit 3) & sleep 2; echo $?; wait $!; echo $?"
"wait $!" may be just a bit too late: backgrounded $! is gone.
Do not bomb out in this case.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/.gitignore')
0 files changed, 0 insertions, 0 deletions