Update power.sh

This commit is contained in:
Kroese 2024-05-05 21:24:01 +02:00 committed by GitHub
parent 7a72e2f546
commit 461e707615
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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