mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 03:45:48 +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
|
||||
fi
|
||||
|
||||
if [ -w "$ISO" ]; then
|
||||
rm -f "$ISO"
|
||||
else
|
||||
if ! rm -f "$ISO" 2> /dev/null; then
|
||||
BASE="windows.iso"
|
||||
ISO="$STORAGE/$BASE"
|
||||
rm -f "$ISO"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue