You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
511 B

--- inn-2.3.5/scripts/innwatch.in.dist Wed Dec 4 15:02:05 2002
+++ inn-2.3.5/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