From 6eb808f21761e3a6055fe7add34effae5aec3819 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 25 Jan 2024 15:39:47 +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 79a586c..e7f9b97 100644 --- a/src/power.sh +++ b/src/power.sh @@ -118,7 +118,7 @@ _graceful_shutdown() { local remove_iso="" - if [ ! -f "$STORAGE/windows.bios" ]; then + if [ ! -f "$STORAGE/windows.old" ]; then if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$QEMU_PTY" ]; then if grep -Fq "Windows Boot Manager" "$QEMU_PTY"; then [ -f "$STORAGE/$BASE" ] && remove_iso="y"