diff --git a/system/firewalld.py b/system/firewalld.py index 47d98544000..61e4a546132 100644 --- a/system/firewalld.py +++ b/system/firewalld.py @@ -97,7 +97,10 @@ try: from firewall.client import FirewallClient fw = FirewallClient() - HAS_FIREWALLD = True + if not fw.connected: + HAS_FIREWALLD = False + else: + HAS_FIREWALLD = True except ImportError: HAS_FIREWALLD = False