mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-10-12 13:45:02 +08:00
fix: Terminate tail on exit (#1049)
This commit is contained in:
parent
cdc4689d6a
commit
554f3295cb
@ -31,7 +31,7 @@ fi
|
|||||||
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
|
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
|
||||||
|
|
||||||
terminal
|
terminal
|
||||||
tail -fn +0 "$QEMU_LOG" 2>/dev/null &
|
tail -fn +0 "$QEMU_LOG" --pid=$$ 2>/dev/null &
|
||||||
cat "$QEMU_TERM" 2>/dev/null & wait $! || :
|
cat "$QEMU_TERM" 2>/dev/null & wait $! || :
|
||||||
|
|
||||||
sleep 1 & wait $!
|
sleep 1 & wait $!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user