FreeBSD Bugzilla – Attachment 173954 Details for
Bug 212061
x11-wm/xfce4-session: Added missing braces in the suggested shutdown/reboot polkit script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
xfce4-session.patch (text/plain), 704 bytes, created by
Yuri Victorovich
on 2016-08-22 18:21:21 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-08-22 18:21:21 UTC
Size:
704 bytes
patch
obsolete
>Index: x11-wm/xfce4-session/files/pkg-message.in >=================================================================== >--- x11-wm/xfce4-session/files/pkg-message.in (revision 420588) >+++ x11-wm/xfce4-session/files/pkg-message.in (working copy) >@@ -3,8 +3,8 @@ > 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; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212061
: 173954