summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-24 05:15:04 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-24 05:15:04 +0100
commitbe70cdd67a648b66d12dfc753e8a020e62731ea6 (patch)
tree27714619c31ccd5d02f827013284c58b86b0b284 /src
parentb16f53046d3eb18f80c979cf40b992f489037fc2 (diff)
login: fix multi-seat check
Diffstat (limited to 'src')
-rw-r--r--src/login/multi-seat-x.c2
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);