From e85aaedf30163618abc681440662bd48a0fc7de9 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 21 Feb 2019 13:50:04 +0800 Subject: [PATCH] Update firewall_api.py --- class/core/firewall_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/firewall_api.py b/class/core/firewall_api.py index 9eb6797e0..79eb0f1cd 100755 --- a/class/core/firewall_api.py +++ b/class/core/firewall_api.py @@ -216,7 +216,7 @@ class firewall_api: public.execShell('/usr/sbin/ufw stop') return if self.__isFirewalld: - public.execShell('firewall-cmd --stop') + public.execShell('systemctl stop firewalld.service') elif self.__isMac: pass else: