]> err.no Git - systemd/commitdiff
logind: when enumerating acl devices for seat0, don't set a tag
authorLennart Poettering <lennart@poettering.net>
Mon, 27 Jun 2011 21:27:57 +0000 (23:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 27 Jun 2011 21:27:57 +0000 (23:27 +0200)
src/logind-acl.c

index 5ea68185bd2fde351aac6a93c9f193df825f81ea..7571093d0ef94c56874b38465e283a7f38f34867 100644 (file)
@@ -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)