mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
Update power.sh
This commit is contained in:
parent
5b6684c5d7
commit
beec7688db
1 changed files with 4 additions and 1 deletions
|
|
@ -43,7 +43,10 @@ boot() {
|
||||||
|
|
||||||
error "Timeout while waiting for QEMU to boot the machine!"
|
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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue