mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 11:45:50 +00:00
fix: Check file permissions
This commit is contained in:
parent
9c07be17b7
commit
12262f1e7b
1 changed files with 1 additions and 3 deletions
|
|
@ -1196,9 +1196,7 @@ if ! updateImage "$ISO" "$DIR" "$XML"; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -w "$ISO" ]; then
|
if ! rm -f "$ISO" 2> /dev/null; then
|
||||||
rm -f "$ISO"
|
|
||||||
else
|
|
||||||
BASE="windows.iso"
|
BASE="windows.iso"
|
||||||
ISO="$STORAGE/$BASE"
|
ISO="$STORAGE/$BASE"
|
||||||
rm -f "$ISO"
|
rm -f "$ISO"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue