mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
Rewrite a comment
This commit is contained in:
parent
ad8cf1319f
commit
f93fcd26dc
@ -942,7 +942,7 @@ if __name__ == "__main__":
|
|||||||
run_and_output_changes(env, pool)
|
run_and_output_changes(env, pool)
|
||||||
|
|
||||||
elif sys.argv[1] == "--check-ptr":
|
elif sys.argv[1] == "--check-ptr":
|
||||||
# Run only the primary hostname checks, specifically the ptr check
|
# See if the reverse dns of the box is configured properly
|
||||||
shell('check_call', ["/usr/sbin/rndc", "flush"], trap=True)
|
shell('check_call', ["/usr/sbin/rndc", "flush"], trap=True)
|
||||||
output = ConsoleOutput()
|
output = ConsoleOutput()
|
||||||
my_ips = env['PUBLIC_IP'] + ((" / "+env['PUBLIC_IPV6']) if env.get("PUBLIC_IPV6") else "")
|
my_ips = env['PUBLIC_IP'] + ((" / "+env['PUBLIC_IPV6']) if env.get("PUBLIC_IPV6") else "")
|
||||||
|
Loading…
Reference in New Issue
Block a user