forked from evolix/evocheck
Well... Don't need for failed variable after all.
This commit is contained in:
parent
0925ccca1f
commit
7d1082d585
|
@ -683,12 +683,10 @@ if [ -e /etc/debian_version ]; then
|
||||||
mysql_myisam_indexes mysql_qcache mysql_qcache_mem \
|
mysql_myisam_indexes mysql_qcache mysql_qcache_mem \
|
||||||
mysql_sorts mysql_tmp_tables; do
|
mysql_sorts mysql_tmp_tables; do
|
||||||
|
|
||||||
failed=false
|
|
||||||
if [[ ! -L /etc/munin/plugins/$file ]]; then
|
if [[ ! -L /etc/munin/plugins/$file ]]; then
|
||||||
echo 'IS_MYSQLMUNIN FAILED!'
|
echo 'IS_MYSQLMUNIN FAILED!'
|
||||||
failed=true
|
break
|
||||||
fi
|
fi
|
||||||
($failed) && break
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue