diff options
Diffstat (limited to 'runit/runsv.c')
-rw-r--r-- | runit/runsv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index a4b8af494..6ad6bf46e 100644 --- a/runit/runsv.c +++ b/runit/runsv.c | |||
@@ -700,7 +700,7 @@ int runsv_main(int argc UNUSED_PARAM, char **argv) | |||
700 | 700 | ||
701 | if (svd[0].sd_want == W_EXIT && svd[0].state == S_DOWN) { | 701 | if (svd[0].sd_want == W_EXIT && svd[0].state == S_DOWN) { |
702 | if (svd[1].pid == 0) | 702 | if (svd[1].pid == 0) |
703 | _exit(EXIT_SUCCESS); | 703 | _exit_SUCCESS(); |
704 | if (svd[1].sd_want != W_EXIT) { | 704 | if (svd[1].sd_want != W_EXIT) { |
705 | svd[1].sd_want = W_EXIT; | 705 | svd[1].sd_want = W_EXIT; |
706 | /* stopservice(&svd[1]); */ | 706 | /* stopservice(&svd[1]); */ |