diff --git a/modules/security/malware-scanner.sh b/modules/security/malware-scanner.sh index 01dfcfa..dad922c 100755 --- a/modules/security/malware-scanner.sh +++ b/modules/security/malware-scanner.sh @@ -679,7 +679,7 @@ if [ -z "$CONTROL_PANEL" ]; then CONTROL_PANEL="cpanel" elif [ -f "/usr/local/psa/version" ]; then CONTROL_PANEL="plesk" - elif [ -d "/home/interworx" ] || [ -f "/usr/bin/iworx-helper" ] || [ -d "/chroot/home" ] && [ -f "/usr/bin/nodeworx" ]; then + elif [ -d "/home/interworx" ] || [ -f "/usr/bin/iworx-helper" ] || ([ -d "/chroot/home" ] && [ -f "/usr/bin/nodeworx" ]); then CONTROL_PANEL="interworx" else CONTROL_PANEL="standalone"