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
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