diff --git a/src/install.sh b/src/install.sh index ef8af74a..fa363eeb 100644 --- a/src/install.sh +++ b/src/install.sh @@ -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 diff --git a/src/power.sh b/src/power.sh index 5395abcf..b2fc1634 100644 --- a/src/power.sh +++ b/src/power.sh @@ -153,13 +153,13 @@ markWindowsBooted() { ! ready && return 0 if ! touch "$file"; then - error "Failed to create Windows installation marker!" + warn "failed to create Windows installation marker!" return 0 fi if ! setOwner "$file"; then rm -f "$file" - error "Failed to set the owner for \"$file\" !" + warn "failed to set the owner for \"$file\" !" return 0 fi