mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
Change status message when ufw is not working
This commit is contained in:
parent
32f441b11b
commit
9af630ee09
@ -173,8 +173,8 @@ def check_ufw(env, output):
|
||||
|
||||
if code != 0:
|
||||
# The command failed, it's safe to say the firewall is disabled
|
||||
output.print_warning("""The firewall is probably disabled on this machine. An error was received
|
||||
while trying to check the firewall.""")
|
||||
output.print_warning("""The firewall is not working on this machine. An error was received
|
||||
while trying to check the firewall. To investigate run 'sudo ufw status'.""")
|
||||
return
|
||||
|
||||
ufw = ufw.splitlines()
|
||||
|
Loading…
Reference in New Issue
Block a user