From 0ae9c64bbb31c062d9a8e3e437ed338ea761d4df Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 10 May 2024 02:28:28 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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