Updating to support new clamAV options per #1376 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609683). Thanks @trakons

Chaim Sanders
2017-04-05 09:16:02 -04:00
parent 61f6645a07
commit 03588553bd

@@ -3783,7 +3783,7 @@ if ($#ARGV != 0) {
my ($FILE) = shift @ARGV; my ($FILE) = shift @ARGV;
$cmd = "$CLAMSCAN --stdout --disable-summary $FILE"; $cmd = "$CLAMSCAN --stdout --no-summary $FILE";
$input = `$cmd`; $input = `$cmd`;
$input =~ m/^(.+)/; $input =~ m/^(.+)/;
$error_message = $1; $error_message = $1;