X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-core.c;h=053d2ed63e189df1cfec0c53e8d3093deb672ca7;hb=952f4b59592088f15615eb404c828aaac31bfe82;hp=ca34d378ff02fdffdf0c98b93dbce61f7cba08ac;hpb=61376f96a98291b5421bfd79a15ca4db50c2a3fe;p=elogind.git diff --git a/src/login/logind-core.c b/src/login/logind-core.c index ca34d378f..053d2ed63 100644 --- a/src/login/logind-core.c +++ b/src/login/logind-core.c @@ -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,