dovecot-1.1: If auth process dies at startup, deinitialize logs ...
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 4 02:44:04 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/e7e3d6ffb0c1
changeset: 7471:e7e3d6ffb0c1
user: Timo Sirainen <tss at iki.fi>
date: Sun May 04 02:44:01 2008 +0300
description:
If auth process dies at startup, deinitialize logs properly so that any
pending log messages from auth process get logged before we kill ourself.
diffstat:
1 file changed, 1 insertion(+)
src/master/auth-process.c | 1 +
diffs (11 lines):
diff -r 73368107aeda -r e7e3d6ffb0c1 src/master/auth-process.c
--- a/src/master/auth-process.c Sun May 04 02:39:58 2008 +0300
+++ b/src/master/auth-process.c Sun May 04 02:44:01 2008 +0300
@@ -342,6 +342,7 @@ static void auth_process_destroy(struct
if (!p->initialized && io_loop_is_running(ioloop) && !p->external) {
/* log the process exit and kill ourself */
child_processes_deinit();
+ log_deinit();
i_fatal("Auth process died too early - shutting down");
}
More information about the dovecot-cvs
mailing list