mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
journal-remote: check also for EWOULDBLOCK
This matches similar code elsewhere.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user