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

This commit is contained in:
Kroese 2024-02-16 16:00:21 +01:00 committed by GitHub
parent 01f9603c47
commit 0f2717fec4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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