clamav should never be enabled on arm64

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-01-17 20:04:37 +01:00
parent a415d71013
commit bcdcab4d8a

View file

@ -134,6 +134,10 @@ class ConfigurationManager
}
public function isClamavEnabled() : bool {
if (!$this->isx64Platform()) {
return false;
}
$config = $this->GetConfig();
if (isset($config['isClamavEnabled']) && $config['isClamavEnabled'] === 1) {
return true;