diff --git a/server/modules/routing/binlogrouter/maxbinlogcheck.c b/server/modules/routing/binlogrouter/maxbinlogcheck.c index 3668c2fc9..3760c0978 100644 --- a/server/modules/routing/binlogrouter/maxbinlogcheck.c +++ b/server/modules/routing/binlogrouter/maxbinlogcheck.c @@ -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;