networkmanager: don't check if subject is active (false in my X session)

This commit is contained in:
Domen Kožar 2015-10-23 20:15:31 +02:00
parent 2e089e6b7c
commit 4c2bbb248c

View File

@ -40,7 +40,6 @@ let
polkit.addRule(function(action, subject) {
if (
subject.isInGroup("networkmanager")
&& subject.active
&& (action.id.indexOf("org.freedesktop.NetworkManager.") == 0
|| action.id.indexOf("org.freedesktop.ModemManager") == 0
))