mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-22 16:21:26 +00: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…
Reference in New Issue
Block a user