Bug 103144 - Typo in polkit manpage
Summary: Typo in polkit manpage
Status: RESOLVED FIXED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium trivial
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-08 09:42 UTC by Peter Klotz
Modified: 2017-10-09 11:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.