diff options
Diffstat (limited to 'rvnit.c')
-rw-r--r-- | rvnit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rvnit.c b/rvnit.c index 1c5d352..0acf6ef 100644 --- a/rvnit.c +++ b/rvnit.c @@ -88,7 +88,7 @@ restart(int i) int loggerpipe[2] = { -1, -1 }; - LOG("start %s\n", services[i].name); + LOG("start %s", services[i].name); if (services[i].logfd[0] == -1) { pipe(services[i].logfd); @@ -695,6 +695,8 @@ cont1: services[i].pid > 0) kill(services[i].pid, SIGTERM); } + } + for (i = 0; i < MAX_SV; i++) { if (services[i].name[2] == 'D') { if (services[i].state == UP && services[i].pid == 0) |