chiark / gitweb /
rtnl: change from bitmask to enum for rtnl groups
[elogind.git] / src / login / logind-core.c
index ca34d378ff02fdffdf0c98b93dbce61f7cba08ac..053d2ed63e189df1cfec0c53e8d3093deb672ca7 100644 (file)
@@ -520,7 +520,7 @@ int manager_count_displays(Manager *m) {
 
                 p = udev_device_get_parent(d);
                 if (!p)
-                        return -ENOMEM;
+                        continue;
 
                 /* If the parent shares the same subsystem as the
                  * device we are looking at then it is a connector,