summaryrefslogtreecommitdiff
path: root/src/logind-seat.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-29 03:48:16 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-29 03:48:16 +0200
commit4a4b033ff285f1eed2085a87b5b0c0ad6c73d166 (patch)
treedb980dd6ba5ce8ad5320fd7093778974d71a0bdc /src/logind-seat.c
parentb668e06428a996348f81b352db3a1084a4e9adf5 (diff)
logind: when initializing drop sessions that are unreferenced
Diffstat (limited to 'src/logind-seat.c')
-rw-r--r--src/logind-seat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logind-seat.c b/src/logind-seat.c
index b8f1f607d0..3cf3958c8d 100644
--- a/src/logind-seat.c
+++ b/src/logind-seat.c
@@ -446,10 +446,10 @@ int seat_get_idle_hint(Seat *s, dual_timestamp *t) {
return idle_hint;
}
-int seat_check_gc(Seat *s) {
+int seat_check_gc(Seat *s, bool drop_not_started) {
assert(s);
- if (!s->started)
+ if (drop_not_started && !s->started)
return 0;
if (seat_is_vtconsole(s))