From bcdcab4d8aab3b490a1bf8ce5eacbfffdba111b1 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 17 Jan 2023 20:04:37 +0100 Subject: [PATCH] clamav should never be enabled on arm64 Signed-off-by: Simon L --- php/src/Data/ConfigurationManager.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index 68340639..87d4a7da 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -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;