diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2016-05-31 02:18:13 +0300 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2016-05-31 02:18:13 +0300 |
commit | 35ceef8028f35c2af4dffc97f42a49dd8243bdc1 (patch) | |
tree | 17c4e50cc5530d13ecb72c0f31df00cd20b02915 /charts.d/mysql.chart.sh | |
parent | b54acfc3e2c05085782a0a80caa8c3ed8ee25fa1 (diff) |
fixed typo that fails to run mysql collector under certain conditions
Diffstat (limited to 'charts.d/mysql.chart.sh')
-rwxr-xr-x | charts.d/mysql.chart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/mysql.chart.sh b/charts.d/mysql.chart.sh index 56dce42d74..4fcbe7b1c7 100755 --- a/charts.d/mysql.chart.sh +++ b/charts.d/mysql.chart.sh @@ -200,7 +200,7 @@ mysql_check() { if [ ${#mysql_opts[@]} -eq 0 ] then - if [ ${unconfigured} -eq 1 && ${tryroot} -eq 0 ] + if [ ${unconfigured} -eq 1 -a ${tryroot} -eq 0 ] then mysql_check tryroot "${@}" return $? |