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:
parent
b16f53046d
commit
be70cdd67a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user