Fix mysqld -V test again.

This commit is contained in:
Daniel Nichter
2012-06-29 18:18:28 -06:00
parent c5fbee7541
commit 137e319afa

View File

@@ -46,7 +46,7 @@ if [ -z "$MYSQL_BASE_DIR" ]; then
MYSQL_BASE_DIR="$(find_mysql_base_dir $MYSQL)"
fi
if [ -z $("$MYSQL_BASE_DIR/bin/mysqld" -V) ]; then
if [ -z "$("$MYSQL_BASE_DIR/bin/mysqld" -V)" ]; then
echo "$MYSQL_BASE_DIR/bin/mysqld does not execute" >&2
exit 1
fi