Unverified Commit 8421a391 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

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

parent f9340ec3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ finish() {
  local pid
  local reason=$1

  touch "$QEMU_END"

  if [ -f "$QEMU_PID" ]; then

    pid=$(<"$QEMU_PID")