1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-10 16:58:28 +03:00

logind: also potentially GC the session if we cannot send reply

This commit is contained in:
Lennart Poettering 2024-11-19 23:23:21 +01:00
parent 7a5d90b6a3
commit ec56bfd860

View File

@ -1219,7 +1219,7 @@ static int manager_create_session_by_bus(
* all is complete - or wait again. */
r = session_send_create_reply(session, /* error= */ NULL);
if (r < 0)
return r;
goto fail;
return 1;