summaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
Diffstat (limited to 'runit')
-rw-r--r--runit/runsv.c2
-rw-r--r--runit/runsvdir.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index 2ab034a..e3b507d 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -640,7 +640,7 @@ int runsv_main(int argc ATTRIBUTE_UNUSED, char **argv)
if (svd[0].want == W_EXIT && svd[0].state == S_DOWN) {
if (svd[1].pid == 0)
- _exit(0);
+ _exit(EXIT_SUCCESS);
if (svd[1].want != W_EXIT) {
svd[1].want = W_EXIT;
/* stopservice(&svd[1]); */
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 32e4764..b4450c0 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -343,7 +343,7 @@ int runsvdir_main(int argc ATTRIBUTE_UNUSED, char **argv)
switch (exitsoon) {
case 1:
- _exit(0);
+ _exit(EXIT_SUCCESS);
case 2:
for (i = 0; i < svnum; i++)
if (sv[i].pid)