From 66f65fe7a67a563dd34010012ef9c76401a6315d Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 24 Jan 2024 05:26:04 +0100 Subject: [PATCH] Update power.sh --- src/power.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/power.sh b/src/power.sh index f1b2707..32cccf1 100644 --- a/src/power.sh +++ b/src/power.sh @@ -116,7 +116,7 @@ _graceful_shutdown() { finish "$code" && return "$code" fi - if [ -f "$QEMU_PTY" ]; then + if [ ! f "$STORAGE/windows.boot" ] && [ -f "$QEMU_PTY" ]; then if ! grep -Fq "Windows Boot Manager" "$QEMU_PTY"; then info "Cannot send ACPI signal during Windows setup, aborting..." finish "$code" && return "$code"