Merge branch 'mysqlmunin-no-need-for-failed-variable' into 'master'

Well... Don't need for failed variable after all.

See merge request evolix/evocheck!7
This commit is contained in:
Benoît S. 2018-02-23 11:14:12 +01:00
commit 46086f263c

View file

@ -683,12 +683,10 @@ if [ -e /etc/debian_version ]; then
mysql_myisam_indexes mysql_qcache mysql_qcache_mem \
mysql_sorts mysql_tmp_tables; do
failed=false
if [[ ! -L /etc/munin/plugins/$file ]]; then
echo 'IS_MYSQLMUNIN FAILED!'
failed=true
break
fi
($failed) && break
done
fi
fi