]> err.no Git - systemd/commitdiff
login: fix multi-seat check
authorLennart Poettering <lennart@poettering.net>
Tue, 24 Jan 2012 04:15:04 +0000 (05:15 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 24 Jan 2012 04:15:04 +0000 (05:15 +0100)
src/login/multi-seat-x.c

index 7a5d3b16e730d9d8b22f5419a23a9dd08f3780aa..d0845e7cae2e762e12cb8e1f6aec5b3a67ca6997 100644 (file)
@@ -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);