diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-12 21:54:14 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-13 00:26:02 -0400 |
commit | f53f7c8fc43df4e38655f2a1f57777c5934fee06 (patch) | |
tree | 741b4191e27965c7419b712ccee8ff868a466d60 | |
parent | 0e72da6fe8671d49b4d458519f5ac7600fd04f03 (diff) |
journal-remote: check also for EWOULDBLOCK
This matches similar code elsewhere.
-rw-r--r-- | src/journal-remote/journal-remote.c | 2 |
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"); |