mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
login: fix multi-seat check
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user