mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Small fix in choosing Primary CS
This commit is contained in:
parent
8b31264461
commit
5aa034be8c
@ -86,7 +86,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
|
||||
|
@ -83,7 +83,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
|
||||
|
Loading…
Reference in New Issue
Block a user