From 720db50a7688f412f0f98e541d40e155a8cebd9f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 21:05:14 -0600 Subject: [PATCH] Update test.sh --- test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 8969445..b350466 100755 --- a/test.sh +++ b/test.sh @@ -29,8 +29,8 @@ 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 haproxy && echo true')" = "true" ]; then - if [ "$(ssh root@10.5.10.53 'systemctl is-active --quiet haproxy')" ]; 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 echo 'no'