Don't warn about waiting for services marked as notimeout, Gentoo #247306.

This commit is contained in:
Roy Marples 2008-11-23 18:40:43 +00:00
parent 1deaa0fae0
commit fe12134a5b

View File

@ -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;
}
}
}