1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-18 21:57:48 +03:00

login: fix multi-seat check

This commit is contained in:
Lennart Poettering 2012-01-24 05:15:04 +01:00
parent b16f53046d
commit be70cdd67a

View 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);