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