From 5f88e8ef512a84fcb7e4113004f3c309d1f30c95 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 28 Apr 2023 22:31:13 -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 3918a1b5..ab02a44c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -177,7 +177,7 @@ STATUS(){ srvcstotest="$(join_by " " ${!srvcs})" srvctst=(`${NCMD} systemctl is-active ${srvcstotest}`) - echo -e "${srvcstotest}\n${srvctst}" + echo -e "${srvcstotest}\n`${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