mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
logind: make sure we don't process the same method call twice (#6583)
Tiny mistake, big effect. Fixes: #6375
This commit is contained in:
parent
5ce96b141a
commit
2e681921c9
@ -457,7 +457,7 @@ static int method_take_device(sd_bus_message *message, void *userdata, sd_bus_er
|
||||
goto error;
|
||||
|
||||
session_save(s);
|
||||
return 0;
|
||||
return 1;
|
||||
|
||||
error:
|
||||
session_device_free(sd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user