From 0ce8b9fa1828b127d9ec79c4ae9f972a366176ed Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 21:23:45 -0600 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 2aa16826..09516fe0 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -63,7 +63,7 @@ STATUS() { spc1=${cw}-${#NM_SERVICES[${srvc}]} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${NM_SERVICES[${srvc}]}$spc: " - f [ "$(systemctl is-active ${srvc})" = "active" ]; then + if [ "$(systemctl is-active ${srvc})" = "active" ]; then echo -e "${idsCL[Green]}Running${idsCL[Default]}" rm -f ${FOLDER}/localhost-${srvc}.down else