From 68a7c8c18a4ed0447e8f859ffff57572acd9d6bd Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 17 Dec 2020 21:09:50 +0500 Subject: [PATCH] feature: allow imunify install without cloudlinux' --- firewall/firewallManager.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/firewall/firewallManager.py b/firewall/firewallManager.py index 7c51b7213..821b6a4fb 100755 --- a/firewall/firewallManager.py +++ b/firewall/firewallManager.py @@ -1567,10 +1567,7 @@ class FirewallManager: data = {} data['ipAddress'] = fullAddress - if os.path.exists(FirewallManager.CLPath): - data['CL'] = 1 - else: - data['CL'] = 0 + data['CL'] = 1 if os.path.exists(FirewallManager.imunifyPath): data['imunify'] = 1