PolicyKit: Branch 'master'

Miloslav Trmac mitr at kemper.freedesktop.org
Mon Oct 9 11:18:32 UTC 2017


 docs/man/polkit.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 29ba7afba1b79a325183a71966f35926dfdf506e
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Mon Oct 9 13:17:31 2017 +0200

    Fix a typo in polkit(8)
    
    Reported by Perter Klotz <peter.klotz99 at gmail.com>.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=103144

diff --git a/docs/man/polkit.xml b/docs/man/polkit.xml
index d30ee52..f2c1acf 100644
--- a/docs/man/polkit.xml
+++ b/docs/man/polkit.xml
@@ -894,7 +894,7 @@ polkit.addRule(function(action, subject) {
 polkit.addRule(function(action, subject) {
     if (action.id.indexOf("org.freedesktop.login1.reboot") == 0) {
         try {
-            // user-may-reboot exits with succeess (exit code 0)
+            // user-may-reboot exits with success (exit code 0)
             // only if the passed username is authorized
             polkit.spawn(["/opt/company/bin/user-may-reboot",
                           subject.user]);


More information about the hal-commit mailing list