fixed typo that fails to run mysql collector under certain conditions
Costa Tsaousis committed
May 31, 2016 at 02:18 UTC
35ceef8028f35c2af4dffc97f42a49dd8243bdc1
1 file changed
+1
-1
charts.d/mysql.chart.sh
+1
-1
@@ -200,7 +200,7 @@ mysql_check() {
200
201
if [ ${#mysql_opts[@]} -eq 0 ]
202
then
203
- if [ ${unconfigured} -eq 1 && ${tryroot} -eq 0 ]
203
+ if [ ${unconfigured} -eq 1 -a ${tryroot} -eq 0 ]
204
then
205
mysql_check tryroot "${@}"
206
return $?