2
0
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:
Diver 2017-02-06 01:46:17 +03:00
parent 5fb6d92501
commit d31e38b524
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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