From 4162ef862c1eb72af3a3387f368d7ecc8566dd6b Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 21 Sep 2025 15:14:27 +0200 Subject: [PATCH] fix: Simplify conditional check --- src/power.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/power.sh b/src/power.sh index 9ca5583..7b3fb2d 100644 --- a/src/power.sh +++ b/src/power.sh @@ -91,7 +91,7 @@ finish() { done fi - if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$BOOT" ]; then + if [ ! -f "$STORAGE/windows.boot" && -f "$BOOT" ]; then # Remove CD-ROM ISO after install if ready; then touch "$STORAGE/windows.boot"