mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 12:37:20 +01:00
fix: Make changing ownership non-fatal (#1858)
This commit is contained in:
+3
-6
@@ -204,8 +204,7 @@ finishInstall() {
|
||||
|
||||
if [[ "$iso" == "$STORAGE/"* ]]; then
|
||||
if ! setOwner "$iso"; then
|
||||
error "Failed to set the owner for \"$iso\" !"
|
||||
return 1
|
||||
warn "failed to set the owner for \"$iso\" !"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -221,8 +220,7 @@ finishInstall() {
|
||||
cp -f /etc/version "$file" || return 1
|
||||
|
||||
if ! setOwner "$file"; then
|
||||
error "Failed to set the owner for \"$file\" !"
|
||||
return 1
|
||||
warn "Failed to set the owner for \"$file\" !"
|
||||
fi
|
||||
|
||||
if [[ "$iso" == "$STORAGE/"* ]]; then
|
||||
@@ -1261,8 +1259,7 @@ buildImage() {
|
||||
mv -f "$out" "$BOOT" || return 1
|
||||
|
||||
if ! setOwner "$BOOT"; then
|
||||
error "Failed to set the owner for \"$BOOT\" !"
|
||||
return 1
|
||||
warn "Failed to set the owner for \"$BOOT\" !"
|
||||
fi
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user