Skip to content
Snippets Groups Projects
Commit 10dd691e authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

fix

parent 1620b4ce
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ def check_listen() -> tuple: ...@@ -35,7 +35,7 @@ def check_listen() -> tuple:
status, out = subprocess.getstatusoutput("ss -pant | grep master | grep ':25'") status, out = subprocess.getstatusoutput("ss -pant | grep master | grep ':25'")
if status != 0 or ("127.0.0.1:25" not in out and "[::1]:25" not in out): if status != 0 or ("127.0.0.1:25" not in out and "[::1]:25" not in out):
u.warnings("Postfix is not listening on localhost:25") u.warning("Postfix is not listening on localhost:25")
warnings += 1 warnings += 1
else: else:
u.success("Postfix is listening on localhost:25") u.success("Postfix is listening on localhost:25")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment