mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 18:38:30 +00:00
Small fix in choosing Primary CS
This commit is contained in:
parent
f0e2fbfb2d
commit
80fa5a5f52
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ fi
|
||||||
|
|
||||||
#Choosing Cotrol Station. Code have to be "10"
|
#Choosing Cotrol Station. Code have to be "10"
|
||||||
for CS in $cs_addr; do
|
for CS in $cs_addr; do
|
||||||
if [ "$(eval $SSH_CHECK)" -eq "10" ]; then
|
if [[ "10" -eq "$(eval $SSH_CHECK)" ]]; then
|
||||||
# echo "$CS is Primary"
|
# echo "$CS is Primary"
|
||||||
PRIMARY_CS=$CS
|
PRIMARY_CS=$CS
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue