1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 18:07:20 +00:00

Small fix in choosing Primary CS

This commit is contained in:
Diver 2016-11-26 02:29:38 +03:00
parent f0e2fbfb2d
commit 80fa5a5f52

View file

@ -98,7 +98,7 @@ fi
#Choosing Cotrol Station. Code have to be "10"
for CS in $cs_addr; do
if [ "$(eval $SSH_CHECK)" -eq "10" ]; then
if [[ "10" -eq "$(eval $SSH_CHECK)" ]]; then
# echo "$CS is Primary"
PRIMARY_CS=$CS
break