mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-12-31 13:49:11 +03:00
Updating to support new clamAV options per #1376 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609683). Thanks @trakons
@@ -3783,7 +3783,7 @@ if ($#ARGV != 0) {
|
||||
|
||||
my ($FILE) = shift @ARGV;
|
||||
|
||||
$cmd = "$CLAMSCAN --stdout --disable-summary $FILE";
|
||||
$cmd = "$CLAMSCAN --stdout --no-summary $FILE";
|
||||
$input = `$cmd`;
|
||||
$input =~ m/^(.+)/;
|
||||
$error_message = $1;
|
||||
|
||||
Reference in New Issue
Block a user