]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
master: Write "last died with error" only to stderr, not to log.
authorTimo Sirainen <tss@iki.fi>
Tue, 8 Sep 2009 18:48:54 +0000 (14:48 -0400)
committerTimo Sirainen <tss@iki.fi>
Tue, 8 Sep 2009 18:48:54 +0000 (14:48 -0400)
--HG--
branch : HEAD

src/master/main.c

index dbe23e2535987d678bb476af2c7c3fc721e0c160..7a9d505fb494b10b128fdce218874734ce107d60 100644 (file)
@@ -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);