chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: don't complain if the syslog forwarder socket doesn't exist
[elogind.git]
/
src
/
journal
/
journald.c
diff --git
a/src/journal/journald.c
b/src/journal/journald.c
index 17aac8877b778f663669617e16097bc6d4456aa2..18db31c3bc5218c89a60feff488901adc1f3732d 100644
(file)
--- 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;
}
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) {
}
static void forward_syslog_raw(Server *s, int priority, const char *buffer, struct ucred *ucred, struct timeval *tv) {