summaryrefslogtreecommitdiff
path: root/runit/runsv.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
commit636a1f85e89432601c59cdc3239fc867b4adf051 (patch)
treed43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /runit/runsv.c
parentcb83abd7b6b052224c1f3b998e863aac76914afd (diff)
downloadbusybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz
busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.bz2
busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.zip
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'runit/runsv.c')
-rw-r--r--runit/runsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index 2ab034af6..e3b507d25 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -640,7 +640,7 @@ int runsv_main(int argc ATTRIBUTE_UNUSED, char **argv)
640 640
641 if (svd[0].want == W_EXIT && svd[0].state == S_DOWN) { 641 if (svd[0].want == W_EXIT && svd[0].state == S_DOWN) {
642 if (svd[1].pid == 0) 642 if (svd[1].pid == 0)
643 _exit(0); 643 _exit(EXIT_SUCCESS);
644 if (svd[1].want != W_EXIT) { 644 if (svd[1].want != W_EXIT) {
645 svd[1].want = W_EXIT; 645 svd[1].want = W_EXIT;
646 /* stopservice(&svd[1]); */ 646 /* stopservice(&svd[1]); */