Fix of the check_for_crashed_tables() function of debian-start There is a "set -e" at the beginning of the function that forces the script to stop if a command ends with a status !=0 and the "mysql" command returns with a status code !=0 if the SELECT COUNT(*) query is done on a crashed table which just stops the function before it could have logged and mailed the problematic table(s). A "set +e" has been added just before the execution of the "mysql" command so the execution will continue if a crashed table is encountered.
Fix of the check_for_crashed_tables() function of debian-start
There is a "set -e" at the beginning of the function that forces the script to stop if a command ends with a status !=0 and the "mysql" command returns with a status code !=0 if the SELECT COUNT(*) query is done on a crashed table which just stops the function before it could have logged and mailed the problematic table(s). A "set +e" has been added just before the execution of the "mysql" command so the execution will continue if a crashed table is encountered.

If a crashed table was encountered, the "mysql" command will return with a status different from 0

ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0