fix: Wait in background

This commit is contained in:
Kroese 2024-03-11 13:23:37 +01:00 committed by GitHub
parent 7b25056795
commit 3142b78562
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,4 +35,5 @@ tail -fn +0 "$QEMU_LOG" 2>/dev/null &
cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" &
wait $! || :
sleep 1 && finish 0
sleep 1 & wait $!
finish 0