diff options
Diffstat (limited to 'runit')
-rw-r--r-- | runit/runsv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index 36d85101e..7e22862cd 100644 --- a/runit/runsv.c +++ b/runit/runsv.c | |||
@@ -651,7 +651,7 @@ int runsv_main(int argc UNUSED_PARAM, char **argv) | |||
651 | gettimeofday_ns(&svd[0].start); | 651 | gettimeofday_ns(&svd[0].start); |
652 | update_status(&svd[0]); | 652 | update_status(&svd[0]); |
653 | if (LESS(svd[0].start.tv_sec, deadline)) | 653 | if (LESS(svd[0].start.tv_sec, deadline)) |
654 | sleep(1); | 654 | sleep1(); |
655 | } | 655 | } |
656 | if (haslog) { | 656 | if (haslog) { |
657 | if (child == svd[1].pid) { | 657 | if (child == svd[1].pid) { |
@@ -664,7 +664,7 @@ int runsv_main(int argc UNUSED_PARAM, char **argv) | |||
664 | gettimeofday_ns(&svd[1].start); | 664 | gettimeofday_ns(&svd[1].start); |
665 | update_status(&svd[1]); | 665 | update_status(&svd[1]); |
666 | if (LESS(svd[1].start.tv_sec, deadline)) | 666 | if (LESS(svd[1].start.tv_sec, deadline)) |
667 | sleep(1); | 667 | sleep1(); |
668 | } | 668 | } |
669 | } | 669 | } |
670 | } /* for (;;) */ | 670 | } /* for (;;) */ |