Update test.sh
This commit is contained in:
1 parent
e611e6bb23
commit
f65630850b
1 file changed
+1
-1
@@ -28,7 +28,7 @@ CHECK_HOST(){
|
|||||||
|
|
||||||
check=`ssh root@10.5.10.53 "systemctl is-active --quiet haproxy"`
|
check=`ssh root@10.5.10.53 "systemctl is-active --quiet haproxy"`
|
||||||
echo "HERE: '${check}'"
|
echo "HERE: '${check}'"
|
||||||
if [ "${check}") = "" ]; then
|
if [ "${check}" = "" ]; then
|
||||||
echo 'yes'
|
echo 'yes'
|
||||||
else
|
else
|
||||||
echo 'no'
|
echo 'no'
|
||||||
|
|||||||
Reference in new issue
Block a user