mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
journal: properly handle EPIPE from /dev/kmsg
This commit is contained in:
parent
fcde238921
commit
24a598f889
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user