1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

udev: make sure we aleways read from netlink, if there is data

This commit is contained in:
Kay Sievers 2010-11-26 16:06:30 +01:00
parent 99448c1f01
commit 2e6081f2ff

View File

@ -533,7 +533,8 @@ void device_fd_event(Manager *m, int events) {
if (!ratelimit_test(&limit))
log_error("Failed to get udev event: %m");
return;
if (!(events & EPOLLIN))
return;
}
if (!(dev = udev_monitor_receive_device(m->udev_monitor))) {