From 600ae228a6f64e2f5e35a2cd23b0534c17369ab4 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 21 Oct 2025 21:49:05 +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 8acb57b..98a6f73 100644 --- a/src/power.sh +++ b/src/power.sh @@ -105,7 +105,9 @@ finish() { if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$BOOT" ]; then # Remove CD-ROM ISO after install if ready; then - touch "$STORAGE/windows.boot" + local file="$STORAGE/windows.boot" + touch "$file" + ! setOwner "$file" && error "Failed to set the owner for \"$file\" !" if [[ "$REMOVE" != [Nn]* ]]; then rm -f "$BOOT" 2>/dev/null || true fi