fiss-minit

A standalone service supervisor based on minit
Log | Files | Refs | README | LICENSE

commit 87a5da152561c040bbfe5fe9e71c0ab5865fcab2
parent a4923ac3487a462e36ab5aa48f40bc2e0cde8459
Author: leitner <leitner>
Date:   Sun, 27 Apr 2003 19:08:34 +0000

fix typo causing msvc to segfault after the job

Diffstat:
MCHANGES | 3+++
Mmsvc.c | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/CHANGES b/CHANGES @@ -1,3 +1,6 @@ +0.9.1: + fix embarassing typo in msvc (Gelu G. Lupas) + 0.9: For stopped services, minit did not record the time when it finished, but when it was started. diff --git a/msvc.c b/msvc.c @@ -214,7 +214,7 @@ main(int argc,char *argv[]) { } return ret; dokill: - for (i=2; i<=argc; i++) { + for (i=2; i<argc; i++) { pid=__readpid(argv[i]); if (!pid) { buffer_puts(buffer_2,"msvc: ");