fix: Simplify conditional checks (#1413)

This commit is contained in:
Kroese
2025-09-21 15:15:46 +02:00
committed by GitHub
parent bfc9b357e5
commit 9c08dc7b1e
4 changed files with 27 additions and 27 deletions

View File

@@ -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"