mirror of
https://github.com/dockur/windows.git
synced 2026-08-05 13:37:22 +01:00
fix: Improve shutdown message (#2057)
This commit is contained in:
+3
-3
@@ -157,7 +157,7 @@ waitForBoot() {
|
|||||||
|
|
||||||
2) echo
|
2) echo
|
||||||
|
|
||||||
error "$(app) could not boot, aborting..."
|
error "$(app) could not boot, terminating..."
|
||||||
terminateQemu
|
terminateQemu
|
||||||
return 0 ;;
|
return 0 ;;
|
||||||
|
|
||||||
@@ -214,7 +214,7 @@ waitForBoot() {
|
|||||||
isAlive "$pid" || return 0
|
isAlive "$pid" || return 0
|
||||||
[ -f "$QEMU_END" ] && return 0
|
[ -f "$QEMU_END" ] && return 0
|
||||||
|
|
||||||
error "Timeout while waiting for QEMU to boot the machine, aborting..."
|
error "Timeout while waiting for QEMU to boot the machine, terminating..."
|
||||||
terminateQemu
|
terminateQemu
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
@@ -458,7 +458,7 @@ abortDuringSetup() {
|
|||||||
# Before Windows boots from disk, ACPI may be ignored or interpreted by setup
|
# Before Windows boots from disk, ACPI may be ignored or interpreted by setup
|
||||||
# itself. Terminate QEMU directly instead of waiting for a graceful shutdown.
|
# itself. Terminate QEMU directly instead of waiting for a graceful shutdown.
|
||||||
if [[ "${DETECTED,,}" != "reactos" ]] || [ -n "${CUSTOM:-}" ]; then
|
if [[ "${DETECTED,,}" != "reactos" ]] || [ -n "${CUSTOM:-}" ]; then
|
||||||
info "Cannot send ACPI signal during $(app) setup, aborting..."
|
info "Cannot send ACPI signal during $(app) setup, terminating..."
|
||||||
else
|
else
|
||||||
info "ReactOS LiveCD does not support ACPI shutdown, terminating..."
|
info "ReactOS LiveCD does not support ACPI shutdown, terminating..."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user