summaryrefslogtreecommitdiff
path: root/src/login/logind-session-dbus.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-08 20:29:56 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-11 19:14:47 -0500
commit9bb69af4f2823fdd30902f5ffd959e9b041feb53 (patch)
tree071ab8a885f25ad123958e4aa3eb4fe708a8f587 /src/login/logind-session-dbus.c
parent4daf54a851e4fb7ed1a13c3117bba12528fd2c7f (diff)
logind: always kill session when termination is requested
KillUserProcesses=yes/no should be ignored when termination is explicitly requested.
Diffstat (limited to 'src/login/logind-session-dbus.c')
-rw-r--r--src/login/logind-session-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
index 7ee49562cf..f9305ddbee 100644
--- a/src/login/logind-session-dbus.c
+++ b/src/login/logind-session-dbus.c
@@ -188,7 +188,7 @@ static int method_terminate(sd_bus *bus, sd_bus_message *message, void *userdata
assert(message);
assert(s);
- r = session_stop(s);
+ r = session_stop(s, true);
if (r < 0)
return r;