logind: always abandon session scopes before killing them
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Jul 2016 11:42:36 +0000 (13:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Jul 2016 12:35:15 +0000 (14:35 +0200)
commit756ed0e238b7243c2e4616083e838d90de6e33ed
treecb431d797c51f4434c83bda04fedee9b7540b0e0
parent3862e809d04f4119d294719982a1dce9a0f444d2
logind: always abandon session scopes before killing them

This way systemd is informed that we consider everything inside the scope as
"left-over", and systemd can log about killing it.

With this change systemd will log about all processes killed due to the session
clean-up on KillUserProcesses=yes.
src/login/logind-session.c