Bug 103144

Summary: Typo in polkit manpage
Product: PolicyKit Reporter: Peter Klotz <peter.klotz99>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: trivial    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Peter Klotz 2017-10-08 09:42:15 UTC
Trivial typo in polkit manpage:

--- polkit.xml  2017-10-08 11:37:40.767971128 +0200
+++ polkit.xml.patched  2017-10-08 11:38:03.048059730 +0200
@@ -894,7 +894,7 @@
 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]);
Comment 1 Miloslav Trmac 2017-10-09 11:18:46 UTC
Fixed in commit 29ba7afba1b79a325183a71966f35926dfdf506e, thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.