From c61f0e88742e90b78e52ffe6f9dd3c74696f9156 Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Thu, 24 Sep 2009 22:11:02 +0000 Subject: * man/sv.8: clarify which return values apply to the LSB init script interface. --- man/sv.8 | 9 ++++----- package/CHANGES | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/man/sv.8 b/man/sv.8 index cbce14e..9bc005a 100644 --- a/man/sv.8 +++ b/man/sv.8 @@ -249,14 +249,13 @@ exits 100 on error. If .B sv is called with a base name other than -.BR sv , -it exits 1 on timeout or trouble sending the command. -If the +.BR sv : +it exits 1 on timeout or trouble sending the command; if the .I command is .BR status , -it exits 3 if the service is down, and 4 if the status is unknown. -It exits 2 on wrong usage, and 151 on error. +it exits 3 if the service is down, and 4 if the status is unknown; +it exits 2 on wrong usage, and 151 on error. .SH SEE ALSO runsv(8), chpst(8), diff --git a/package/CHANGES b/package/CHANGES index 144105f..d852097 100644 --- a/package/CHANGES +++ b/package/CHANGES @@ -8,6 +8,8 @@ open_* functions (thx David Reiss). * runsv.c: exit with error if [log/]supervise/control exists, but is not a fifo (thx Charlie Brady). + * man/sv.8: clarify which return values apply to the LSB init script + interface. 2.0.0 Sun, 15 Jun 2008 15:31:05 +0000 -- cgit 1.4.1