From c289ace76fda6fcee5d7dd55a795fbc7ba2cd840 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 18 Aug 2023 22:57:42 -0500 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index e23c069b..c9b777da 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -174,7 +174,7 @@ STATUS(){ if [ "${ST_ACTION}" != "dockers" ]; then srvcs=${NTYPE}_SERVICES_CHECK[@]; srvcstotest="$(join_by " " ${!srvcs})" - srvctst=(`${NCMD} systemctl is-active ${srvcstotest}`) + srvctst=(`${NCMD} "systemctl is-active ${srvcstotest}"`) sr=0 for srvc in "${!srvcs}"; do [ "${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