summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-27 23:27:57 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-27 23:27:57 +0200
commit734b933ace7aac5d9c1d7507f9d30f73390ce102 (patch)
tree455d9709dff028ddee2be075a631d84d01c36e0d
parentce0f7c97d2302c73832034aac1107e2378c2eeed (diff)
logind: when enumerating acl devices for seat0, don't set a tag
-rw-r--r--src/logind-acl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/logind-acl.c b/src/logind-acl.c
index 5ea68185bd..7571093d0e 100644
--- a/src/logind-acl.c
+++ b/src/logind-acl.c
@@ -233,9 +233,11 @@ int devnode_acl_all(struct udev *udev,
if (r < 0)
goto finish;
- r = udev_enumerate_add_match_tag(e, seat);
- if (r < 0)
- goto finish;
+ if (!streq(seat, "seat0")) {
+ r = udev_enumerate_add_match_tag(e, seat);
+ if (r < 0)
+ goto finish;
+ }
r = udev_enumerate_scan_devices(e);
if (r < 0)