Commit 2e6081f2 authored by Kay Sievers's avatar Kay Sievers
Browse files

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

parent 99448c1f
......@@ -533,7 +533,8 @@ void device_fd_event(Manager *m, int events) {
if (!ratelimit_test(&limit))
log_error("Failed to get udev event: %m");
if (!(events & EPOLLIN))
if (!(dev = udev_monitor_receive_device(m->udev_monitor))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment