From: Lennart Poettering Date: Tue, 24 Jan 2012 04:15:04 +0000 (+0100) Subject: login: fix multi-seat check X-Git-Tag: v39~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be70cdd67a648b66d12dfc753e8a020e62731ea6;p=systemd login: fix multi-seat check --- 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);