Small typo in f-prot-autoupdate

Julian Field mailscanner at ecs.soton.ac.uk
Wed Sep 3 09:53:41 IST 2003


Thanks for that. Fixed.

At 02:27 03/09/2003, you wrote:
>Julian there is a small typo in the f-prot-autoupdate script that prevents
>logging status to /var/log/maillog.  Here's the code segment where I added
>the open Syslog line right after alarm 0 ...
>
>
>if ($@) {
>   if ($@ =~ /timeout/) {
>     # We timed out!
>     CleanTempDir();
>     &UnlockFProt();
>     alarm 0;
>   }
>} else {
>   alarm 0;
>   Sys::Syslog::openlog("F-Prot autoupdate", 'pid, nowait', 'mail'); ******
>   Sys::Syslog::syslog('info', $updated?"F-Prot successfully updated.":
>                                        "F-Prot did not need updating.");
>}
>
>--
>Gerry
>
>"The lyfe so short, the craft so long to learne"  Chaucer

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list