From 22e7e73dcfb7359e5e5fde76159864c64eae3284 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 17 Dec 2022 10:58:07 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 1d5c37ac..6f4523b8 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -505,7 +505,7 @@ CHECK_DOCKER_SERVICES(){ dockers=${NTYPE}_DOCKER[@] hosts=${NTYPE}_HOSTS[@] - if [ "${dockers}" != "" ]; then + if [ "${!dockers}" != "" ]; then if [ "${ST_ACTION}" != "check" ]; then echo -e "${idsST[Bold]}"; DIVIDER echo -e "${idsCL[Yellow]} ${NM_NODETYPES[$NTYPE]}-Node Docker Service(s) Status${idsCL[Default]}"