fix: Prevent re-entry during shutdown (#24)

This commit is contained in:
Kroese 2024-02-16 16:01:49 +01:00 committed by GitHub
parent 1e796d0dca
commit 7d7b5706e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,8 @@ finish() {
local pid
local reason=$1
touch "$QEMU_END"
if [ -f "$QEMU_PID" ]; then
pid=$(<"$QEMU_PID")