mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-22 15:03:34 +07:00
udev: make sure we aleways read from netlink, if there is data
This commit is contained in:
parent
99448c1f01
commit
2e6081f2ff
@ -533,6 +533,7 @@ void device_fd_event(Manager *m, int events) {
|
||||
|
||||
if (!ratelimit_test(&limit))
|
||||
log_error("Failed to get udev event: %m");
|
||||
if (!(events & EPOLLIN))
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user