Skip to content

Commit 277af43

Browse files
author
Till Brehm
committed
Better ClamAV outdated check.
1 parent 10acaf2 commit 277af43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/100-monitor_clamav_log.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function onRunJob() {
129129
$clamav_outdated_warning = false;
130130
$clamav_bytecode_updated = false;
131131
foreach ($lastLog as $line) {
132-
if (stristr($line,'outdated')) {
132+
if (stristr($line,"Can't download daily.cvd from")) {
133133
$clamav_outdated_warning = true;
134134
}
135135
if(stristr($line,'main.cld is up to date')) {

0 commit comments

Comments
 (0)