summaryrefslogtreecommitdiff
path: root/src/logind-acl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-25 16:50:49 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-25 16:50:49 +0200
commitd2d4b038999d65826a2048a1a7829f9d5e762978 (patch)
treea6a37440096b1503660c266dfccb7622f7f0420b /src/logind-acl.c
parent4cd1eaa54507a65286413363216ad407fa7c6e50 (diff)
acl: properly handle if devices are tagged as uaccess but do not have a device node
Diffstat (limited to 'src/logind-acl.c')
-rw-r--r--src/logind-acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logind-acl.c b/src/logind-acl.c
index 7f9b0ca15e..7a06b501d4 100644
--- a/src/logind-acl.c
+++ b/src/logind-acl.c
@@ -265,9 +265,9 @@ int devnode_acl_all(struct udev *udev,
node = udev_device_get_devnode(d);
if (!node) {
+ /* In case people mistag devices with nodes, we need to ignore this */
udev_device_unref(d);
- r = -ENOMEM;
- goto finish;
+ continue;
}
log_debug("Fixing up %s for seat %s...", node, sn);