aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-10 15:42:06 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-10 15:42:06 +0000
commita1cce942064b62a2f238383d61c331b14ab764eb (patch)
tree82d252f04f9a8511be452dcd8b5e322c59653c72 /runit
parentb2ea681ba78e9de8abaabfd51e876aaf4c5198a9 (diff)
downloadbusybox-w32-a1cce942064b62a2f238383d61c331b14ab764eb.tar.gz
busybox-w32-a1cce942064b62a2f238383d61c331b14ab764eb.tar.bz2
busybox-w32-a1cce942064b62a2f238383d61c331b14ab764eb.zip
style fixes. No code changes.
git-svn-id: svn://busybox.net/trunk/busybox@18381 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 61eb02e64..bd4a81eee 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -303,7 +303,8 @@ static void startservice(struct svdir *s)
303 } 303 }
304 run[1] = NULL; 304 run[1] = NULL;
305 305
306 if (s->pid != 0) stopservice(s); /* should never happen */ 306 if (s->pid != 0)
307 stopservice(s); /* should never happen */
307 while ((p = fork()) == -1) { 308 while ((p = fork()) == -1) {
308 warn_cannot("fork, sleeping"); 309 warn_cannot("fork, sleeping");
309 sleep(5); 310 sleep(5);