diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sv.c | 2 | ||||
-rwxr-xr-x | src/sv.check | 2 | ||||
-rw-r--r-- | src/sv.dist | 4 |
3 files changed, 7 insertions, 1 deletions
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,6 +1,10 @@ usage: sv [-v] [-w sec] action service ... 100 +$Id$ +usage: sv [-v] [-w sec] action service ... + +100 starting 0 down |