summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)