diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-06-27 23:27:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-27 23:27:57 +0200 |
commit | 734b933ace7aac5d9c1d7507f9d30f73390ce102 (patch) | |
tree | 455d9709dff028ddee2be075a631d84d01c36e0d | |
parent | ce0f7c97d2302c73832034aac1107e2378c2eeed (diff) |
logind: when enumerating acl devices for seat0, don't set a tag
-rw-r--r-- | src/logind-acl.c | 8 |
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) |