From be70cdd67a648b66d12dfc753e8a020e62731ea6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 24 Jan 2012 05:15:04 +0100 Subject: [PATCH] login: fix multi-seat check --- src/login/multi-seat-x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/multi-seat-x.c b/src/login/multi-seat-x.c index 7a5d3b16..d0845e7c 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); -- 2.39.5