1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-07 22:27:23 +02:00

simplify utils.py#shell method used by unbound-control call

This commit is contained in:
KiekerJan
2022-11-05 21:04:05 +01:00
parent 16728860f4
commit 210d9f08dc
3 changed files with 3 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ def run_checks(rounded_values, env, output, pool, domains_to_check=None):
# clear unbound's DNS cache so our DNS checks are up to date
# (ignore errors; if unbound isn't running we'd already report
# that in run_services checks.)
shell('check_call', ["/usr/sbin/unbound-control", "flush_zone", "."], trap=True, capture_stdout=False)
shell('check_call', ["/usr/sbin/unbound-control", "flush_zone", ".", "-q"], trap=True)
run_system_checks(rounded_values, env, output)