logind: propagate session stop errors
authorLennart Poettering <lennart@poettering.net>
Mon, 6 Aug 2018 17:35:44 +0000 (19:35 +0200)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Fri, 20 Aug 2021 11:06:37 +0000 (13:06 +0200)
commit31aa21a13f9b91486b1a95c5b73fa088af77fcb4
tree0f7a36a5513561fb4ac22919d7d6fb10884425d8
parent83c49a5e54dffc3dfa85b79f6375cd0a42a4ff76
logind: propagate session stop errors

Let's propagate errors from stopping sessions via seat_stop(). This is
similar to how we propagate such errors in user_stop() for all sessions
associated with a user.

Note that we propagate these errors, but we don't abort the function.

(cherry picked from commit e6958b7ea33813b085966ac25817a957c0dad7f9)

Related: #1642460
src/login/logind-seat.c