Skip to content

Commit

Permalink
Merge branch '7.x' of ssh://git.bt.cn:30001/root/linux-panel into 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
songchudong committed Jan 13, 2022
2 parents 8781c54 + 8c6605e commit 4e87c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/firewalls.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def SetFirewallStatus(self,get=None):
@author hwliang<2022-01-13>
'''
status = not self.CheckFirewallStatus()
status_msg = {True: '关闭', False: '开启'}
status_msg = {False: '关闭', True: '开启'}
if self.__isUfw:
if status:
public.ExecShell('echo y|ufw enable')
Expand Down

0 comments on commit 4e87c19

Please sign in to comment.