diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 726edd98..07dfaf7c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -157,7 +157,7 @@ STATUS(){ var2=${NTYPE}_SERVICES_CHECK[@] for srvc in "${!var2}"; do NOGOCHK=true - if [ "${NIP}" = "10.5.10.122" ] && [ ${srvc} = "gitea" ]; then + if [ "${nip}" = "10.5.10.122" ] && [ ${srvc} = "gitea" ]; then NOGOCHK=false fi if [ ${NOGOCHK} = true ]; then