summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-03 13:30:17 +0000
committerRoy Marples <roy@marples.name>2008-07-03 13:30:17 +0000
commit157db50df72c1bcb71689312ea1760668124d9b2 (patch)
tree0baf5c568fe86c63af4e051e67f8eece349ae978 /man
parenta88a177f991527e545e75588013afd16c647e656 (diff)
downloadopenrc-157db50df72c1bcb71689312ea1760668124d9b2.tar.gz
openrc-157db50df72c1bcb71689312ea1760668124d9b2.tar.bz2
openrc-157db50df72c1bcb71689312ea1760668124d9b2.tar.xz
Fix is_older_than a little better, and make is_newer_than correct.
Diffstat (limited to 'man')
-rw-r--r--man/runscript.88
1 files changed, 6 insertions, 2 deletions
diff --git a/man/runscript.8 b/man/runscript.8
index b219e52..aa8f3f9 100644
--- a/man/runscript.8
+++ b/man/runscript.8
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd Jun 03, 2008
+.Dd Jul 03, 2008
.Dt RUNSCRIPT 8 SMM
.Os OpenRC
.Sh NAME
@@ -214,7 +214,7 @@ is a directory, then check all it's contents too.
.It Ic is_older_than Ar file1 Ar file2 ...
If
.Ar file1
-is older than
+is newer than
.Ar file2
return 0, otherwise 1.
If
@@ -441,6 +441,10 @@ show()
}
.Ed
+.Sh BUGS
+is_older_than should return 0 on success.
+Instead we return 1 to be compliant with Gentoo baselayout.
+Users are encouraged to use the is_newer_than function which returns correctly.
.Sh SEE ALSO
.Xr einfo 3 ,
.Xr rc 8 ,