diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-06-29 19:41:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-29 19:41:07 +0200 |
commit | 539072153c0db3d91c1c59ad447d96b0e1f3cf77 (patch) | |
tree | 21831c2b2d68a86d7f1656eee53f6b838b1bcec4 /src/logind.c | |
parent | f5f32cd7adb78d390fa9050588095b3d31c8527b (diff) | |
download | systemd-539072153c0db3d91c1c59ad447d96b0e1f3cf77.tar.gz |
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.c | 2 |
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)) { |