From 16a40701f11328e4a560761055a60f41c1569371 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 29 Nov 2024 18:59:43 -0600 Subject: [PATCH] update --- nodemgmt-scripts.sh | 6 +----- run.sh | 5 ----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 8852b9c1..90bed5df 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -373,7 +373,7 @@ NODEUPDATES() { for nodecmd in /tmp/.nodeupdate.*.done; do if [[ "${nodecmd}" != *"*"* ]]; then nodecmd_output=$(cat ${nodecmd}) - [ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}" + # [ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}" rm -f ${nodecmd} ((nc_count++)) fi @@ -1307,10 +1307,6 @@ GUI(){ update) if [ "${2}" == "nodes" ]; then - unset idsCL idsBG idsST - idsCL=('') - idsBG=('') - idsST=('') NODEUPDATES fi ;; diff --git a/run.sh b/run.sh index 0c8992e4..e2083dab 100755 --- a/run.sh +++ b/run.sh @@ -9,11 +9,6 @@ source /opt/idssys/defaults/default.inc source /opt/idssys/nodemgmt/conf/settings.conf source /opt/idssys/nodemgmt/defaults.inc -unset idsCL idsBG idsST -idsCL=('') -idsBG=('') -idsST=('') - # if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then if [ "${1}" == "update" ] || ([ "${1}" == "update" ] && [ "${2}" == "nodes" ]) || ([ "${1}" == "update-nodes" ] && [ "${3}" != "sync" ]); then if [ "${1}" == "update-nodes" ] || [ "${2}" == "nodes" ]; then