summaryrefslogtreecommitdiff
path: root/src/logind.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-28 00:26:34 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-28 00:26:34 +0200
commit21308c654dda82726f634fc695529d3af33e6fb6 (patch)
treedfd75a9348b738dad32dbb7f60d47e9947c6f8b6 /src/logind.c
parentd0a522eb312a0f6014e756d3fc066efc37fceaf7 (diff)
logind: kill a session as soon as its pipe fd gets EOF
Diffstat (limited to 'src/logind.c')
-rw-r--r--src/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logind.c b/src/logind.c
index 701ef494e8..8507c2e152 100644
--- a/src/logind.c
+++ b/src/logind.c
@@ -771,7 +771,7 @@ static void manager_pipe_notify_eof(Manager *m, int fd) {
assert(s->pipe_fd == fd);
session_unset_pipe_fd(s);
- session_add_to_gc_queue(s);
+ session_stop(s);
}
static int manager_connect_bus(Manager *m) {