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

Этот коммит содержится в:
KiekerJan
2022-11-05 21:04:05 +01:00
родитель 16728860f4
Коммит 210d9f08dc
3 изменённых файлов: 3 добавлений и 5 удалений
+1 -1
Просмотреть файл
@@ -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)