| 123456789101112131415161718 |
- --- inn-2.3.4/scripts/innwatch.in.dist Wed Dec 4 15:02:05 2002
- +++ inn-2.3.4/scripts/innwatch.in Wed Dec 4 15:05:21 2002
- @@ -126,7 +126,12 @@
- NEXTSLEEP=1
- HASEXITED=false
-
- -while { sleep ${NEXTSLEEP} & wait; } ; : ; do
- +SLEEPTINY=1
- +while { sleep ${SLEEPTINY} & wait; } ; : ; do
- + NEXTSLEEP=`expr ${NEXTSLEEP} - ${SLEEPTINY}`
- + if [ $NEXTSLEEP -gt 0 ]; then
- + continue;
- + fi
- NEXTSLEEP=${INNWATCHSLEEPTIME}
-
- ## If news.daily is running, idle: we don't want to change the
|