From 068636bff0a228b0d5f7c58697aa1d0e9aba5061 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 27 Apr 2023 09:41:33 -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 354e9631..57584b9e 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -181,7 +181,7 @@ STATUS(){ [ "${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 srvctst=(`${NCMD} systemctl is-active ${srvcstotest}`) - echo "H: $srvctst" + echo "H: `${NCMD} systemctl is-active ${srvcstotest}`" sr=0 for srvc in "${srvcs}"; do if [ "${ST_ACTION}" != "check" ]; then