diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-09-26 21:32:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-09-26 21:32:47 +0200 |
commit | c68ba912c347a79885bb0e863034bdb3a8ae057e (patch) | |
tree | d3e61c96043dfda6e80cc0f0aed526f14b2e2731 | |
parent | 90dc8c2ea2cebf2dd195abe4768205a831fd32cb (diff) |
logind: never consider a closing session relevant for PK checks
https://bugzilla.redhat.com/show_bug.cgi?id=1010215
-rw-r--r-- | src/login/logind-dbus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index e76381b322..bb85c7d4af 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -957,6 +957,7 @@ static int have_multiple_sessions( * count, and non-login sessions do not count either. */ HASHMAP_FOREACH(session, m->sessions, i) if (session->class == SESSION_USER && + !session->closing && session->user->uid != uid) return true; |