blob: a54a778e5ed2faf3d8c0b089d370b5116da77de7 [file] [log] [blame]
Denys Vlasenkod4dd48f2020-09-29 22:36:36 +02001sleep 1 && echo "Background1" &
2pid=$!
3sleep 3 && echo "Background2: BUG!" &
4# Shouldn't wait for 2nd bkgd:
5wait $pid
6kill $!
7echo Ok:$?