refactor: stop marking reboot command failures in netupgrade
This commit is contained in:
+1
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user