diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2016-08-23 14:12:59 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2016-08-23 14:12:59 +0000 |
commit | 2366fc9170e3614c152fb8d51e795963182f8b47 (patch) | |
tree | 7b2eb107e48d01e4cff76772af2a171b2a54e2bd /x11-wm/xfce4-session | |
parent | c0eeeb0ae996596acd48c3eea47c53f2ad4cad60 (diff) | |
download | ports-2366fc9170e3614c152fb8d51e795963182f8b47.tar.gz ports-2366fc9170e3614c152fb8d51e795963182f8b47.zip |
Notes
Diffstat (limited to 'x11-wm/xfce4-session')
-rw-r--r-- | x11-wm/xfce4-session/files/pkg-message.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-wm/xfce4-session/files/pkg-message.in b/x11-wm/xfce4-session/files/pkg-message.in index 64308c860d19..85e1199bdd53 100644 --- a/x11-wm/xfce4-session/files/pkg-message.in +++ b/x11-wm/xfce4-session/files/pkg-message.in @@ -3,8 +3,8 @@ files in %%LOCALBASE%%/etc/polkit-1/rules.d directory. Which looks like this (replace PUTYOURGROUPHERE by your group): polkit.addRule(function (action, subject) { - if (action.id == "org.freedesktop.consolekit.system.restart" || - action.id == "org.freedesktop.consolekit.system.stop" + if ((action.id == "org.freedesktop.consolekit.system.restart" || + action.id == "org.freedesktop.consolekit.system.stop") && subject.isInGroup("PUTYOURGROUPHERE")) { return polkit.Result.YES; } |