summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 8ce9ce858b..f034a569a9 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -1827,7 +1827,7 @@ static void proc_kmsg_line(Server *s, const char *p) {
/* Avoid any messages we generated ourselves via
* log_info() and friends. */
- if (is_us(pid))
+ if (pid && is_us(pid))
goto finish;
if (s->forward_to_syslog)