From 461e707615eb9ea54b51b03e1618d2ae48f2cd90 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 5 May 2024 21:24:01 +0200 Subject: [PATCH] Update power.sh --- src/power.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/power.sh b/src/power.sh index cb23f6f..4408920 100644 --- a/src/power.sh +++ b/src/power.sh @@ -85,7 +85,9 @@ finish() { # Remove CD-ROM ISO after install if ready; then touch "$STORAGE/windows.boot" - [[ "$REMOVE" != [Nn]* ]] && rm -f "$BOOT" 2>/dev/null || true + if [[ "$REMOVE" != [Nn]* ]]; then + rm -f "$BOOT" 2>/dev/null || true + fi fi fi