summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2017-10-09 13:17:31 +0200
committerMiloslav Trmač <mitr@redhat.com>2017-10-09 13:17:31 +0200
commit29ba7afba1b79a325183a71966f35926dfdf506e (patch)
tree592222f83b42cdd5b057a42394f49b17d1f99891 /docs
parent3ae309240b799d0acd78198e49766080302e7d1e (diff)
Fix a typo in polkit(8)
Reported by Perter Klotz <peter.klotz99@gmail.com>. https://bugs.freedesktop.org/show_bug.cgi?id=103144
Diffstat (limited to 'docs')
-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]);