diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c65a1759..b771d66a 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -175,7 +175,7 @@ STATUS(){ if [ "${ST_ACTION}" != "dockers" ]; then srvcs=${NTYPE}_SERVICES_CHECK[@]; - srvcstotest="$(join_by " " ${srvcs})" + srvcstotest="$(join_by " " ${!srvcs})" [ "${srvc}" == "gitea" ] && [ "${NTYPE}" == "WEB" ] && [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *${WEB_HOSTS[0]}* ]] && NOGOCHK=false || NOGOCHK=true if [ ${NOGOCHK} == true ]; then