From: Lennart Poettering Date: Mon, 27 Jun 2011 21:27:57 +0000 (+0200) Subject: logind: when enumerating acl devices for seat0, don't set a tag X-Git-Tag: v30~132 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=734b933ace7aac5d9c1d7507f9d30f73390ce102;p=systemd logind: when enumerating acl devices for seat0, don't set a tag --- diff --git a/src/logind-acl.c b/src/logind-acl.c index 5ea68185..7571093d 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)