summaryrefslogtreecommitdiff
path: root/src/logind.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-29 19:41:07 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-29 19:41:07 +0200
commit539072153c0db3d91c1c59ad447d96b0e1f3cf77 (patch)
tree21831c2b2d68a86d7f1656eee53f6b838b1bcec4 /src/logind.c
parentf5f32cd7adb78d390fa9050588095b3d31c8527b (diff)
acl: libudev currently doesn't handle properly enumerator matches with multiple tags, so avoid using them for now
Diffstat (limited to 'src/logind.c')
-rw-r--r--src/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logind.c b/src/logind.c
index 9bab875131..cbc878e682 100644
--- a/src/logind.c
+++ b/src/logind.c
@@ -286,7 +286,7 @@ int manager_process_seat_device(Manager *m, struct udev_device *d) {
Seat *seat;
sn = udev_device_get_property_value(d, "ID_SEAT");
- if (!sn)
+ if (isempty(sn))
sn = "seat0";
if (!seat_name_is_valid(sn)) {