1
0

refactor: stop marking reboot command failures in netupgrade

This commit is contained in:
2026-05-02 01:12:12 +02:00
parent 5728e8769a
commit 8229b06cc1
+1 -3
View File
@@ -202,9 +202,7 @@ runCmd() { # $1=host $2=name $3=cmd
case ${CMD} in case ${CMD} in
reboot) reboot)
echo "reboot" | tee -a "${LOGFILENAME}" echo "reboot" | tee -a "${LOGFILENAME}"
if ! runSSH "${HOST}" reboot | tee -a "${LOGFILENAME}"; then runSSH "${HOST}" reboot | tee -a "${LOGFILENAME}"
ERROR=1
fi
;; ;;
apt) apt)
if [ "${YES}" -eq 1 ]; then if [ "${YES}" -eq 1 ]; then