fix: Improve shutdown message (#2057)

This commit is contained in:
Kroese
2026-08-05 10:07:44 +02:00
committed by GitHub
parent 9086a904aa
commit fd5806105e
+3 -3
View File
@@ -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