Commit 29ba7afb authored by Miloslav Trmač's avatar Miloslav Trmač

Fix a typo in polkit(8)

Reported by Perter Klotz <peter.klotz99@gmail.com>.

https://bugs.freedesktop.org/show_bug.cgi?id=103144
parent 3ae30924
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment