From 8229b06cc126876863bdafddde622c3c1620f78c Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 2 May 2026 01:12:12 +0200 Subject: [PATCH] refactor: stop marking reboot command failures in netupgrade --- bin/netupgrade | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/netupgrade b/bin/netupgrade index 7696a9a..860b318 100755 --- a/bin/netupgrade +++ b/bin/netupgrade @@ -202,9 +202,7 @@ runCmd() { # $1=host $2=name $3=cmd case ${CMD} in reboot) echo "reboot" | tee -a "${LOGFILENAME}" - if ! runSSH "${HOST}" reboot | tee -a "${LOGFILENAME}"; then - ERROR=1 - fi + runSSH "${HOST}" reboot | tee -a "${LOGFILENAME}" ;; apt) if [ "${YES}" -eq 1 ]; then