From 8ec3532e399e48cfa6e6f52d5e30fe646309a524 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Nov 2019 18:51:23 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 1fe3a0af..1ad7c59c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1407,6 +1407,12 @@ KEEPALIVE-CONFIG() { } NODEUPDATE() { + if [ "${1}" = "report" ]; then + unset idsCL idsBG idsST + idsCL=('') + idsBG=('') + idsST=('') + fi declare -i cw; declare -i spc1; declare -i c echo -e "${idsCL[LightGreen]}Updating All Nodes and Webservers${idsCL[Default]}" echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}" @@ -1566,7 +1572,7 @@ if [ ${action-x} ]; then delsites) DELSITES;; newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};; update) ;; - update-nodes) NODEUPDATE;; + update-nodes) NODEUPDATE ${2};; backup) BACKUP;; status) STATUS ${2};; status-check) STATUS-CHECK ${2};;