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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user