changeset 9904:88801acf025a HEAD

master: Write "last died with error" only to stderr, not to log.
author Timo Sirainen <tss@iki.fi>
date Tue, 08 Sep 2009 14:48:54 -0400
parents 329b1f01052a
children 54c0c2c24f2c
files src/master/main.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 		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);