dovecot-2.0: master: Write "last died with error" only to stderr...

dovecot at dovecot.org dovecot at dovecot.org
Tue Sep 8 21:50:14 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/88801acf025a
changeset: 9904:88801acf025a
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Sep 08 14:48:54 2009 -0400
description:
master: Write "last died with error" only to stderr, not to log.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/master/main.c |    4 ++--

diffs (14 lines):

diff -r 329b1f01052a -r 88801acf025a src/master/main.c
--- a/src/master/main.c	Tue Sep 08 14:34:04 2009 -0400
+++ b/src/master/main.c	Tue Sep 08 14:48:54 2009 -0400
@@ -187,8 +187,8 @@ static void fatal_log_check(const struct
 		i_error("read(%s) failed: %m", path);
 	else {
 		buf[ret] = '\0';
-		i_warning("Last died with error (see error log for more "
-			  "information): %s", buf);
+		fprintf(stderr, "Last died with error (see error log for more "
+			"information): %s", buf);
 	}
 
 	close(fd);


More information about the dovecot-cvs mailing list