diff --git a/src/install.sh b/src/install.sh index 6c20586..29b3561 100644 --- a/src/install.sh +++ b/src/install.sh @@ -916,8 +916,8 @@ updateImage() { warn "failed to remove answer file ($file) from ISO image!" fi - if ! wimlib-imagex update "$loc" "$index" --command "rename /$file.org /$file" > /dev/null; then - warn "failed to rename answer file ($file.org) in ISO image." + if wimlib-imagex update "$loc" "$index" --command "rename /$file.org /$file" >/dev/null 2>&1; then + warn "renamed answer file ($file.org) in ISO image." fi fi