fix: Simplify conditional check

This commit is contained in:
Kroese 2025-09-21 15:14:27 +02:00 committed by GitHub
parent df61797b9b
commit 4162ef862c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"