Skip to content

Commit c358880

Browse files
committed
Fix syntax error in polkit rule
Remove extra opening parenthesis
1 parent 7945516 commit c358880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notifier/polkit/49-nopasswd_limited_xbps_install_sync.rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* without password authentication, similar to "sudo NOPASSWD:"
33
*/
44
polkit.addRule(function(action, subject) {
5-
if ((action.id == "org.freedesktop.policykit.pkexec.run-xbpsinstall" &&
5+
if (action.id == "org.freedesktop.policykit.pkexec.run-xbpsinstall" &&
66
subject.isInGroup("wheel"))
77
{
88
return polkit.Result.YES;
99
}
10-
});
10+
});

0 commit comments

Comments
 (0)