From cb6c21993796e81910b4cb294c21a09fadd5680e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 1 Oct 2021 22:17:23 -0500 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 c52d2fe3..502fba47 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 ${srvc} = "gitea" ]; then + if [ ${srvc} = "gitea" ]; then if [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.5.10.120* ]]; then NOGOCHK=false; fi