diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 27494db1..dd5eb91d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1076,9 +1076,7 @@ DOWNLIST(){ ditem=${ditem//.down} host=${ditem%%.*} item=${ditem#*.} - - echo "HERE: '$item'" - + if [[ $ditem == *"."* ]] && [ "${NM_SERVICES[${item}]}" != "" ]; then itemname=${NM_SERVICES[${item}]} elif [[ $ditem == *"."* ]] && [ "${NM_DOCKERS[${item}]}" != "" ]; then