]> git.pld-linux.org Git - packages/spamassassin.git/commitdiff
- kill random, up to 2 HOURS, sleep, WTF was that for?
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 21 Apr 2010 21:35:54 +0000 (21:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sa-update.sh -> 1.4

sa-update.sh

index ba874d484ba49511de2e51450580ee769eb36b4b..727a00b9dc7d78d8e9efcd1c8fb14361858449eb 100644 (file)
@@ -5,7 +5,6 @@ OPT=""
 
 [ -f /etc/mail/spamassassin/channels ] && OPT="$OPT --channelfile /etc/mail/spamassassin/channels"
 
-sleep $(expr $RANDOM % 7200)
 # Only restart spamd if sa-update returns 0, meaning it updated the rules
 /usr/bin/sa-update $OPT || exit $?
 
This page took 0.030743 seconds and 4 git commands to generate.