Update power.sh

This commit is contained in:
Kroese 2024-05-26 12:54:47 +02:00 committed by GitHub
parent 5b6684c5d7
commit beec7688db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}