diff options
Diffstat (limited to 'src/logind-user.c')
-rw-r--r-- | src/logind-user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logind-user.c b/src/logind-user.c index 3076ed1573..dacf148f78 100644 --- a/src/logind-user.c +++ b/src/logind-user.c @@ -457,13 +457,13 @@ int user_get_idle_hint(User *u, dual_timestamp *t) { return idle_hint; } -int user_check_gc(User *u) { +int user_check_gc(User *u, bool drop_not_started) { int r; char *p; assert(u); - if (!u->started) + if (drop_not_started && !u->started) return 0; if (u->sessions) |