diff --git a/src/power.sh b/src/power.sh index 7382b94..6540a56 100644 --- a/src/power.sh +++ b/src/power.sh @@ -43,7 +43,10 @@ boot() { error "Timeout while waiting for QEMU to boot the machine!" - finish 33 + local pid + pid=$(<"$QEMU_PID") + { kill -15 "$pid" || true; } 2>/dev/null + return 0 }