summaryrefslogtreecommitdiff
path: root/src/uaccess.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/uaccess.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/uaccess.c')
-rw-r--r--src/uaccess.c2
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) {