mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
No shellcheck override
This commit is contained in:
parent
5fb6d92501
commit
d31e38b524
2 changed files with 2 additions and 4 deletions
|
@ -184,8 +184,7 @@ check_conf_and_set_vars () {
|
||||||
fi
|
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
|
||||||
# shellcheck disable=SC2086
|
if [[ "10" = "$(ssh_check_cmd "$CS")" ]]; then
|
||||||
if [[ "10" = "$(ssh_check_cmd $CS)" ]]; then
|
|
||||||
PRIMARY_CS=$CS
|
PRIMARY_CS=$CS
|
||||||
SSH="ssh -q $username@$PRIMARY_CS "
|
SSH="ssh -q $username@$PRIMARY_CS "
|
||||||
break
|
break
|
||||||
|
|
|
@ -162,8 +162,7 @@ check_conf () {
|
||||||
|
|
||||||
#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
|
||||||
# shellcheck disable=SC2086
|
if [[ "10" = "$(ssh_check_cmd "$CS")" ]]; then
|
||||||
if [[ "10" = "$(ssh_check_cmd $CS)" ]]; then
|
|
||||||
PRIMARY_CS=$CS
|
PRIMARY_CS=$CS
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue