mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
Fix error message output in power.sh
This commit is contained in:
parent
8e01b2c106
commit
38f7459be6
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ finish() {
|
||||||
if [ -s "$QEMU_PID" ]; then
|
if [ -s "$QEMU_PID" ]; then
|
||||||
|
|
||||||
pid=$(<"$QEMU_PID")
|
pid=$(<"$QEMU_PID")
|
||||||
error "Forcefully terminating Windows, reason: $reason..."
|
echo && error "Forcefully terminating Windows, reason: $reason..."
|
||||||
{ kill -15 "$pid" || true; } 2>/dev/null
|
{ kill -15 "$pid" || true; } 2>/dev/null
|
||||||
|
|
||||||
while isAlive "$pid"; do
|
while isAlive "$pid"; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue