From 699c5035a401b44695903ce0dd939e97ed93a971 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 29 Nov 2024 18:56:08 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index aa88d374..7d77c2b0 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -342,14 +342,14 @@ NODEUPDATES() { start=`date +%s` cw=40; rm -f /tmp/.nodeupdate.* - if [ "${1}" = "report" ]; then + # if [ "${1}" = "report" ]; then unset idsCL idsBG idsST idsCL=('') idsBG=('') idsST=('') - else + # else echo - fi + # fi declare -i spc1; declare -i c echo -e "${idsCL[LightGreen]}Updating All Nodes${idsCL[Default]}" echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}" @@ -374,7 +374,7 @@ NODEUPDATES() { if [[ "${nodecmd}" != *"*"* ]]; then nodecmd_output=$(cat ${nodecmd}) [ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}" - # rm -f ${nodecmd} + rm -f ${nodecmd} ((nc_count++)) fi done