networkmanager: don't check if subject is active (false in my X session)
(cherry picked from commit 4c2bbb248cf22ad3c3541ba7d38bbc3abb40c706) Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
a9c3950f2d
commit
6fb7b9b664
|
@ -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
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue