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/uaccess.c | |
parent | f5f32cd7adb78d390fa9050588095b3d31c8527b (diff) |
acl: libudev currently doesn't handle properly enumerator matches with multiple tags, so avoid using them for now
Diffstat (limited to 'src/uaccess.c')
-rw-r--r-- | src/uaccess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uaccess.c b/src/uaccess.c index 2f6ac43754..1683707977 100644 --- a/src/uaccess.c +++ b/src/uaccess.c @@ -44,7 +44,7 @@ int main(int argc, char *argv[]) { } path = argv[1]; - seat = argc >= 3 ? argv[2] : "seat0"; + seat = argc < 3 || isempty(argv[2]) ? "seat0" : argv[2]; p = strappend("/run/systemd/seats/", seat); if (!p) { |