Maxbinlogcheck gets stuck when binlog file is not existant/readable

Missing exit() caused maxbinlogcheck being stuck on log_manager call
when specified binlog file is not existed/redable
This commit is contained in:
MassimilianoPinto 2017-01-11 15:30:57 +01:00
parent 0865eada03
commit 77aff88ed7

View File

@ -169,6 +169,7 @@ int main(int argc, char **argv)
MXS_FREE(inst);
mxs_log_flush_sync();
mxs_log_finish();
exit(EXIT_FAILURE);
}
inst->binlog_fd = fd;