summaryrefslogtreecommitdiff
path: root/src/journal-remote
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 01cfef5469..e6aa07243e 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -1022,7 +1022,7 @@ static int dispatch_raw_source_event(sd_event_source *event,
} else if (r == -E2BIG) {
log_notice_errno(E2BIG, "Entry too big, skipped");
return 1;
- } else if (r == -EAGAIN) {
+ } else if (r == -EAGAIN || r == -EWOULDBLOCK) {
return 0;
} else if (r < 0) {
log_debug_errno(r, "Closing connection: %m");