sarg-2.2.1-1.el5.rf monthly cron broken
"Rabie Van der Merwe" <[email protected]> Thu, 23 Aug 2007 15:52:22 +0200
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
There is a typo in the /etc/cron.monthly/sarg script, there is a extra
']' which will cause all montly reports to not include the 4th week of
logs if I understand it correctly, please apply this patch. Or just
remove the typo :)
--- sarg.orig 2007-08-23 15:45:34.000000000 +0200
+++ sarg 2007-08-23 12:06:29.000000000 +0200
@@ -12,7 +12,7 @@
if [ -s /var/log/squid/access.log.1.gz ]; then
LOG_FILES="$LOG_FILES -l /var/log/squid/access.log.1.gz"
fi
-if [ -s /var/log/squid/access.log ]]; then
+if [ -s /var/log/squid/access.log ]; then
LOG_FILES="$LOG_FILES -l /var/log/squid/access.log"
Fi
Regards
Rabie van der Merwe
**********************************************************************
---------
NOTICE
---------
This message (including attachments) contains privileged and confidential information intended only for the person or entity to which it is addressed.
Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited.
If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer.
Metropolitan Health Group, its subsidiaries or associates, does not accept liability for any personal views expressed in this message.
Metropolitan Health Group
PO Box 4313 Cape Town 8000 Tel: (021) 480 4511 Fax: (021) 480 4535 www.mhg.co.za
**********************************************************************