Pārlūkot izejas kodu

[fix] polkit parse error caused by an extra )

Vamist 1 gadu atpakaļ
vecāks
revīzija
e82e9dafd0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      data/polkit/rules.d/gamemode.rules.in

+ 1 - 1
data/polkit/rules.d/gamemode.rules.in

@@ -5,7 +5,7 @@
 polkit.addRule(function (action, subject) {
 polkit.addRule(function (action, subject) {
     if ((action.id == "com.feralinteractive.GameMode.governor-helper" ||
     if ((action.id == "com.feralinteractive.GameMode.governor-helper" ||
          action.id == "com.feralinteractive.GameMode.gpu-helper" ||
          action.id == "com.feralinteractive.GameMode.gpu-helper" ||
-         action.id == "com.feralinteractive.GameMode.cpu-helper") ||
+         action.id == "com.feralinteractive.GameMode.cpu-helper" ||
          action.id == "com.feralinteractive.GameMode.procsys-helper") &&
          action.id == "com.feralinteractive.GameMode.procsys-helper") &&
         subject.isInGroup("@GAMEMODE_PRIVILEGED_GROUP@"))
         subject.isInGroup("@GAMEMODE_PRIVILEGED_GROUP@"))
     {
     {