mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
No shellcheck override
This commit is contained in:
parent
5fb6d92501
commit
d31e38b524
@ -184,8 +184,7 @@ check_conf_and_set_vars () {
|
||||
fi
|
||||
#Choosing Cotrol Station. Code have to be "10"
|
||||
for CS in $cs_addr; do
|
||||
# shellcheck disable=SC2086
|
||||
if [[ "10" = "$(ssh_check_cmd $CS)" ]]; then
|
||||
if [[ "10" = "$(ssh_check_cmd "$CS")" ]]; then
|
||||
PRIMARY_CS=$CS
|
||||
SSH="ssh -q $username@$PRIMARY_CS "
|
||||
break
|
||||
|
@ -162,8 +162,7 @@ check_conf () {
|
||||
|
||||
#Choosing Cotrol Station. Code have to be "10"
|
||||
for CS in $cs_addr; do
|
||||
# shellcheck disable=SC2086
|
||||
if [[ "10" = "$(ssh_check_cmd $CS)" ]]; then
|
||||
if [[ "10" = "$(ssh_check_cmd "$CS")" ]]; then
|
||||
PRIMARY_CS=$CS
|
||||
break
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user