mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
networkmanager: don't check if subject is active (false in my X session)
(cherry picked from commit 4c2bbb248c
)
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
Block a user