1
0
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:
yodax 2016-10-03 11:03:05 +02:00
parent 32f441b11b
commit 9af630ee09

View File

@ -173,8 +173,8 @@ def check_ufw(env, output):
if code != 0: if code != 0:
# The command failed, it's safe to say the firewall is disabled # 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 output.print_warning("""The firewall is not working on this machine. An error was received
while trying to check the firewall.""") while trying to check the firewall. To investigate run 'sudo ufw status'.""")
return return
ufw = ufw.splitlines() ufw = ufw.splitlines()