summaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-10 15:42:06 +0000
committerDenis Vlasenko2007-04-10 15:42:06 +0000
commitff131b980d524a33d8a43cefe65e14f64a43f2da (patch)
tree82d252f04f9a8511be452dcd8b5e322c59653c72 /runit
parent163516da3ae54a587fb476c621793bd206f380c2 (diff)
downloadbusybox-ff131b980d524a33d8a43cefe65e14f64a43f2da.zip
busybox-ff131b980d524a33d8a43cefe65e14f64a43f2da.tar.gz
style fixes. No code changes.
Diffstat (limited to 'runit')
-rw-r--r--runit/runsv.c3
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);