From 4ca86bbc25540acc322679b98c4f18a540c100ee Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 18 Jul 2012 16:23:06 +0200 Subject: [PATCH] journal: don't complain if the syslog forwarder socket doesn't exist --- src/journal/journald.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/journal/journald.c b/src/journal/journald.c index 17aac8877..18db31c3b 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -868,7 +868,8 @@ static void forward_syslog_iovec(Server *s, const struct iovec *iovec, unsigned return; } - log_debug("Failed to forward syslog message: %m"); + if (errno != ENOENT) + log_debug("Failed to forward syslog message: %m"); } static void forward_syslog_raw(Server *s, int priority, const char *buffer, struct ucred *ucred, struct timeval *tv) { -- 2.30.2