diff --git a/security/clamav/Makefile b/security/clamav/Makefile index dc420ca3c..4ef729eae 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= clamav PLUGIN_VERSION= 1.4 +PLUGIN_REVISION= 1 PLUGIN_COMMENT= Antivirus engine for detecting malicious threats PLUGIN_DEPENDS= clamav PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/security/clamav/src/www/diag_logs_clamav.php b/security/clamav/src/www/diag_logs_clamav.php index 22523a7a4..e5bec47fa 100644 --- a/security/clamav/src/www/diag_logs_clamav.php +++ b/security/clamav/src/www/diag_logs_clamav.php @@ -7,7 +7,10 @@ if (isset($_GET['type']) && ($_GET['type'] === 'clamd' || $_GET['type'] === 'fre $logfile = "/var/log/clamav/{$type}.log"; $logclog = false; -$logsplit = 2; + +if ($type == 'clamd') { + $logsplit = 2; +} $logpills = array(); $logpills[] = array(gettext('Clamd'), true, '/diag_logs_clamav.php?type=clamd');