From c6ce39f008fcb731ff11c8923f42ce65064b2cbd Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 24 Jan 2024 01:54:56 +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 7935e67..ac66e6d 100644 --- a/src/power.sh +++ b/src/power.sh @@ -121,7 +121,7 @@ _graceful_shutdown() { info "Cannot send ACPI signal during Windows setup, aborting..." finish "$code" && return "$code" else - rm -f "$STORAGE/$BASE" + [ -n "$BASE" ] && rm -f "$STORAGE/$BASE" touch "$STORAGE/windows.boot" fi fi