diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-07-18 16:23:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-07-18 16:23:06 +0200 |
commit | 4ca86bbc25540acc322679b98c4f18a540c100ee (patch) | |
tree | b2f90486cc7efff0438d0ec09e156ca07bfbad9b /src/journal | |
parent | 361f9cbc7e6c7d3ac41892f5a5aebd1ef4049b95 (diff) |
journal: don't complain if the syslog forwarder socket doesn't exist
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journald.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c index 17aac8877b..18db31c3bc 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) { |