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]);
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.