syslogd: ignore EINVAL from kernel, silently restart polling
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
82b7e2bfcb
commit
7ce44f5b9e
@ -533,6 +533,9 @@ static void kernel_cb(int fd, void *arg)
|
||||
case EAGAIN:
|
||||
break;
|
||||
|
||||
case EINVAL:
|
||||
break;
|
||||
|
||||
default:
|
||||
ERR("klog read()");
|
||||
socket_close(fd);
|
||||
|
Loading…
Reference in New Issue
Block a user