diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-24 05:15:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-24 05:15:04 +0100 |
commit | be70cdd67a648b66d12dfc753e8a020e62731ea6 (patch) | |
tree | 27714619c31ccd5d02f827013284c58b86b0b284 /src/login/multi-seat-x.c | |
parent | b16f53046d3eb18f80c979cf40b992f489037fc2 (diff) |
login: fix multi-seat check
Diffstat (limited to 'src/login/multi-seat-x.c')
-rw-r--r-- | src/login/multi-seat-x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/multi-seat-x.c b/src/login/multi-seat-x.c index 7a5d3b16e7..d0845e7cae 100644 --- a/src/login/multi-seat-x.c +++ b/src/login/multi-seat-x.c @@ -92,7 +92,7 @@ int main(int argc, char *argv[]) { dn = udev_device_get_devnode(d); - if (!dn) { + if (dn) { device_node = strdup(dn); if (!device_node) { udev_device_unref(d); |