mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Silence iptables checks
Prevents error logging for every iptables run.
This commit is contained in:
parent
c85094df5d
commit
275147d131
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ def check(table='filter', chain=None, rule=None, family='ipv4'):
|
|||
|
||||
if _has_option('--check', family):
|
||||
cmd = '{0} -t {1} -C {2} {3}'.format(ipt_cmd, table, chain, rule)
|
||||
out = __salt__['cmd.run'](cmd)
|
||||
out = __salt__['cmd.run'](cmd, output_loglevel='quiet')
|
||||
else:
|
||||
_chain_name = hex(uuid.getnode())
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue