Small typo in f-prot-autoupdate

Gerry Doris gerry at DORFAM.CA
Wed Sep 3 02:27:39 IST 2003


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



More information about the MailScanner mailing list