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

This commit is contained in:
Benoît S. 2018-02-23 11:13:01 +01:00
parent 0925ccca1f
commit 7d1082d585

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