summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-08-15 10:14:42 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-08-15 10:14:42 -0500
commit1f5d447eda0ecc62a556cee19cdc1f1929ac2931 (patch)
tree1dcda8724eef5334e475d7fb247fef49de8f9aa7
parentdf9d1c25a7907c45d5de33d5347de23cef9f82a0 (diff)
downloadopenrc-1f5d447eda0ecc62a556cee19cdc1f1929ac2931.tar.gz
openrc-1f5d447eda0ecc62a556cee19cdc1f1929ac2931.tar.bz2
openrc-1f5d447eda0ecc62a556cee19cdc1f1929ac2931.tar.xz
fix typo on runscript man page
The example code had an invalid checkpath option (--dir instead of --directory) and a mode that does not make sense for directories (664 instead of 775). X-Gentoo-Bug: 481034 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=481034
-rw-r--r--man/runscript.82
1 files changed, 1 insertions, 1 deletions
diff --git a/man/runscript.8 b/man/runscript.8
index ddce662..1854638 100644
--- a/man/runscript.8
+++ b/man/runscript.8
@@ -471,7 +471,7 @@ start_pre()
# stop_post.
fi
# Ensure that our dirs are correct
- checkpath --dir --owner foo:foo --mode 0664 \\
+ checkpath --directory --owner foo:foo --mode 0775 \\
/var/run/foo /var/cache/foo
}