Unverified Commit 0f2717fe authored by Kroese's avatar Kroese Committed by GitHub
Browse files

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

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

  touch "$QEMU_END"

  if [ -f "$QEMU_PID" ]; then

    pid=$(<"$QEMU_PID")