From fe12134a5b8c37ae6e1b7316dd320830d71b2e57 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 23 Nov 2008 18:40:43 +0000 Subject: [PATCH] Don't warn about waiting for services marked as notimeout, Gentoo #247306. --- src/rc/runscript.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/rc/runscript.c b/src/rc/runscript.c index d0557307..6c8f1aee 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -560,12 +560,13 @@ svc_wait(const char *svc) break; } - if (!forever) + if (!forever) { nloops --; - if (--sloops == 0) { - ewarn("%s: waiting for %s", applet, svc); - sloops = (ONE_SECOND / WAIT_INTERVAL) * 5; + if (--sloops == 0) { + ewarn("%s: waiting for %s", applet, svc); + sloops = (ONE_SECOND / WAIT_INTERVAL) * 5; + } } }