summaryrefslogtreecommitdiff
path: root/docs/man/polkit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/polkit.xml')
-rw-r--r--docs/man/polkit.xml2
1 files changed, 1 insertions, 1 deletions
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]);