mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-27 14:03:43 +03:00
logind: when enumerating acl devices for seat0, don't set a tag
This commit is contained in:
parent
ce0f7c97d2
commit
734b933ace
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user