Commit 58ce163d authored by Ray Strode's avatar Ray Strode

manager: don't allow inhibitors to block forced logout

If logout is forced, inhibitors shouldn't stop it !
parent c2fafac7
......@@ -1006,6 +1006,10 @@ gsm_manager_is_logout_inhibited (GsmManager *manager)
GsmInhibitor *inhibitor;
if (manager->priv->logout_mode == GSM_MANAGER_LOGOUT_MODE_FORCE) {
return FALSE;
if (manager->priv->inhibitors == NULL) {
return FALSE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment