optimize_mysql_tables.sh: fix error in determin mysql binary.

This commit is contained in:
Christoph 2018-03-08 11:51:19 +01:00
parent 3ea5c8d2ef
commit 6c2e2bee12

View File

@ -129,8 +129,9 @@ mysql=`which mysql`
if [ -z "$mysql" ]; then
if [ -x "/usr/local/mysql/bin/mysql" ]; then
mysql=/usr/local/mysql/bin/mysql
else
fatal "No binary 'mysql' found!"
fi
fatal "No binary 'mysql' found!"
fi