Update nodemgmt-scripts.sh

This commit is contained in:
2022-12-17 11:04:33 -06:00
parent 75adbb5010
commit 7df49156ef

View File

@@ -505,7 +505,7 @@ CHECK_DOCKER_SERVICES(){
dockers=${NTYPE}_DOCKER[@]
hosts=${NTYPE}_HOSTS[@]
if [ -n "${!dockers}" ]; then
if [[ -v ${!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]}"