diff options
Diffstat (limited to 'runit')
-rw-r--r-- | runit/runsv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index 61eb02e..bd4a81e 100644 --- a/runit/runsv.c +++ b/runit/runsv.c @@ -303,7 +303,8 @@ static void startservice(struct svdir *s) } run[1] = NULL; - if (s->pid != 0) stopservice(s); /* should never happen */ + if (s->pid != 0) + stopservice(s); /* should never happen */ while ((p = fork()) == -1) { warn_cannot("fork, sleeping"); sleep(5); |