diff options
author | Roy Marples <roy@marples.name> | 2008-11-23 18:40:43 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-11-23 18:40:43 +0000 |
commit | fe12134a5b8c37ae6e1b7316dd320830d71b2e57 (patch) | |
tree | 9e6db7e05d74644baf2921b18b8fe4dda9d04218 | |
parent | 1deaa0fae0f5c26f75140fc77963e74091bdd63a (diff) |
Don't warn about waiting for services marked as notimeout, Gentoo #247306.
-rw-r--r-- | src/rc/runscript.c | 9 |
1 files 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; + } } } |