summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-config/polkit-rule-agl-app
diff options
context:
space:
mode:
Diffstat (limited to 'meta-app-framework/recipes-config/polkit-rule-agl-app')
-rw-r--r--meta-app-framework/recipes-config/polkit-rule-agl-app/files/50-agl-app.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-app-framework/recipes-config/polkit-rule-agl-app/files/50-agl-app.rules b/meta-app-framework/recipes-config/polkit-rule-agl-app/files/50-agl-app.rules
index 5fa34fbd2..dd4b6940d 100644
--- a/meta-app-framework/recipes-config/polkit-rule-agl-app/files/50-agl-app.rules
+++ b/meta-app-framework/recipes-config/polkit-rule-agl-app/files/50-agl-app.rules
@@ -1,6 +1,6 @@
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.systemd1.manage-units" &&
- action.lookup("unit").indexOf("agl-app@") == 0 &&
+ action.lookup("unit").indexOf("agl-app") == 0 &&
subject.user == "agl-driver") {
return polkit.Result.YES;
}