changeset 7471:e7e3d6ffb0c1 HEAD

If auth process dies at startup, deinitialize logs properly so that any pending log messages from auth process get logged before we kill ourself.
author Timo Sirainen <tss@iki.fi>
date Sun, 04 May 2008 02:44:01 +0300
parents 73368107aeda
children aa41caaf8e0b
files src/master/auth-process.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 	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");
 	}