diff --git a/test.sh b/test.sh index 5012c33..8969445 100755 --- a/test.sh +++ b/test.sh @@ -30,7 +30,7 @@ CHECK_HOST(){ #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')" ]; then echo 'yes' else echo 'no'