summaryrefslogtreecommitdiff
path: root/src/journal/journald.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/journald.c')
-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 f2dd4050b6..a5025f5687 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -2161,7 +2161,7 @@ static int server_read_dev_kmsg(Server *s) {
return 0;
}
- if (errno == EAGAIN || errno == EINTR)
+ if (errno == EAGAIN || errno == EINTR || errno == EPIPE)
return 0;
log_error("Failed to read from kernel: %m");