On Wednesday 05 November 2003 13:05, Mandy wrote:

> I fixed it myself ;-)

Good work, but I got a few questions/comments.

Which version of kaspersky are you using?

> sub avp_scanner {
>   #Kaspersky  AVPLinux scanner
>   &debug("kasp: starting scan of directory \"$ENV{'TMPDIR'}\"...");
>   my ($start_avp_time)=[gettimeofday];
>   my ($avp_verbose,$DD,$avp_status,$stop_avp_time,$avp_time);
>   $avp_verbose="-O" if ($DEBUG);

My kaspersky doesn't know the option "-O":

% kavscanner -O /tmp
kavscanner: invalid option -- O
Kaspersky Virus Scanner for linux. Version 4.5.0.0/RELEASE
Copyright (C) Kaspersky Lab. 1998-2003.
[...]

>   &debug("run $avp_binary  -i1 -xp $avp_verbose $ENV{'TMPDIR'}  
2>&1");
>   $DD=`$avp_binary -i0 -xp $avp_verbose $ENV{'TMPDIR'} 2>&1`;

Here is a typo: you write "-i1" in the logfile, but you are starting the 
scan with "-i0". B-)

-- 
So long... Erik Wasser



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to