diff options
Diffstat (limited to 'lib/Scanner/ExternalKaspersky.php')
-rw-r--r-- | lib/Scanner/ExternalKaspersky.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Scanner/ExternalKaspersky.php b/lib/Scanner/ExternalKaspersky.php index 97bf129..09257e1 100644 --- a/lib/Scanner/ExternalKaspersky.php +++ b/lib/Scanner/ExternalKaspersky.php @@ -79,7 +79,7 @@ class ExternalKaspersky extends ScannerBase { ['app' => 'files_antivirus'] ); - if (trim($response) === 'CLEAN' && $this->status->getNumericStatus() == Status::SCANRESULT_CLEAN) { + if (trim($response) === 'CLEAN' && $this->status->getNumericStatus() != Status::SCANRESULT_INFECTED) { $this->status->setNumericStatus(Status::SCANRESULT_CLEAN); } else if (substr($response, 0, 11) === 'NON_SCANNED' && $this->status->getNumericStatus() != Status::SCANRESULT_INFECTED) { $this->status->setNumericStatus(Status::SCANRESULT_UNCHECKED); |