summaryrefslogtreecommitdiff
path: root/src/journal/journald-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/journald-server.c')
-rw-r--r--src/journal/journald-server.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index e0a078ee33..5999724edc 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -1182,10 +1182,6 @@ int server_process_datagram(sd_event_source *es, int fd, uint32_t revents, void
log_error_errno(errno, "recvmsg() failed: %m");
return -errno;
}
- if (n == 0) {
- log_error("Got EOF on socket.");
- return -ECONNRESET;
- }
for (cmsg = CMSG_FIRSTHDR(&msghdr); cmsg; cmsg = CMSG_NXTHDR(&msghdr, cmsg)) {