journal: don't complain if the syslog forwarder socket doesn't exist

This commit is contained in:
Lennart Poettering 2012-07-18 16:23:06 +02:00
parent 361f9cbc7e
commit 4ca86bbc25

View file

@ -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) {