mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-04-01 21:27:22 +02:00
Change status message when ufw is not working
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user