Commit 67eacbd8 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed mysqlchk

parent 22f620f2
......@@ -57,7 +57,7 @@ else
status=$(echo $status | awk '{print $2;}')
if [ $status -eq 2 ] || [ $status -eq 4 ]; then
if [ "$status" -eq "2" ] || [ "$status" -eq "4" ]; then
readonly=$($MYSQL_BIN $MYSQL_OPTS --host=$MYSQL_HOST --port=$MYSQL_PORT --user=$MYSQL_USERNAME -e "$CHECK_QUERY2;" 2>/dev/null)
if [ $? -ne 0 ]; then
return_fail;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment