From 9f4da4f20d733911309e0f97edf7ea7590799eb0 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 21:03:55 -0600 Subject: [PATCH] Update test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index a2902da..5012c33 100755 --- a/test.sh +++ b/test.sh @@ -29,7 +29,7 @@ CHECK_HOST(){ #check=`ssh root@10.5.10.53 "systemctl is-active --quiet haproxy && echo true"` #echo "HERE: '${check}'" srvc=haproxy -if [ "$(ssh root@10.5.10.53 'systemctl is-active --quiet $srvc && echo true')" = "true" ]; then +if [ "$(ssh root@10.5.10.53 'systemctl is-active --quiet haproxy && echo true')" = "true" ]; then #if [ $(ssh root@10.5.10.53 'systemctl is-active --quiet haproxy') ]; then echo 'yes' else