From: Timo Sirainen Date: Tue, 8 Sep 2009 18:48:54 +0000 (-0400) Subject: master: Write "last died with error" only to stderr, not to log. X-Git-Tag: 2.0.alpha1~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f7f132b924ca0e33d278293deece88781ba6af0;p=thirdparty%2Fdovecot%2Fcore.git master: Write "last died with error" only to stderr, not to log. --HG-- branch : HEAD --- diff --git a/src/master/main.c b/src/master/main.c index dbe23e2535..7a9d505fb4 100644 --- a/src/master/main.c +++ b/src/master/main.c @@ -187,8 +187,8 @@ static void fatal_log_check(const struct master_settings *set) 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);