From 1196258c17ff7c29d0bbaabd84d711cb28eefd1b Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Sat, 23 Jul 2005 15:59:01 +0000 Subject: minor. --- src/sv.c | 2 +- src/sv.check | 2 ++ src/sv.dist | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sv.c b/src/sv.c index 51047d7..04f945d 100644 --- a/src/sv.c +++ b/src/sv.c @@ -322,5 +322,5 @@ int main(int argc, char **argv) { usleep(USLEEPDELAY); taia_now(&tnow); } - return(rc); + return(rc > 99 ? 99 : rc); } diff --git a/src/sv.check b/src/sv.check index a778719..d3c277c 100755 --- a/src/sv.check +++ b/src/sv.check @@ -4,6 +4,8 @@ trap 'rm -rf "${ctmp}"' EXIT sv echo $? +sv -V +echo $? mkdir "${ctmp}" cat >"${ctmp}"/run <<-\EOT diff --git a/src/sv.dist b/src/sv.dist index f64a414..a496983 100644 --- a/src/sv.dist +++ b/src/sv.dist @@ -1,5 +1,9 @@ usage: sv [-v] [-w sec] action service ... +100 +$Id$ +usage: sv [-v] [-w sec] action service ... + 100 starting 0 -- cgit 1.4.1