Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_antivirus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Scanner/ScannerBase.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Scanner/ScannerBase.php b/lib/Scanner/ScannerBase.php
index 1e93572..d964266 100644
--- a/lib/Scanner/ScannerBase.php
+++ b/lib/Scanner/ScannerBase.php
@@ -117,6 +117,7 @@ abstract class ScannerBase implements IScanner {
}
} catch (\OCP\Encryption\Exceptions\GenericEncryptionException $e) {
// We can't read the file, ignore
+ $this->shutdownScanner();
$this->status->setNumericStatus(Status::SCANRESULT_CLEAN);
return $this->getStatus();
}