fix: Prevent shutdown re-entry

This commit is contained in:
Kroese 2024-05-26 12:49:22 +02:00 committed by GitHub
parent d1922f660c
commit 4a901d1079
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,4 +32,4 @@ tail -fn +0 "$QEMU_LOG" 2>/dev/null &
cat "$QEMU_TERM" 2>/dev/null & wait $! || : cat "$QEMU_TERM" 2>/dev/null & wait $! || :
sleep 1 & wait $! sleep 1 & wait $!
finish 0 [ ! -f "$QEMU_END" ] && finish 0