]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/control.c
Be a little less enthusiastic about calling abort()
[citadel.git] / citadel / server / control.c
index 3db2459c059e131f685fa16399331965452dd892..27bc05b01e52ceded4715719327b59281520ecdd 100644 (file)
@@ -155,7 +155,7 @@ void check_control(void) {
 
        if (sanity_diag_mode == 1) {
                syslog(LOG_INFO, "control: sanity check diagnostic mode is active - exiting now");
-               abort();
+               exit(CTDLEXIT_SANITY);
        }
 }