mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
don't log tons of iptables help messages
This commit is contained in:
parent
9111626d62
commit
9f0c87f300
@ -22,7 +22,7 @@ def __virtual__():
|
||||
Only load the module if iptables is installed
|
||||
'''
|
||||
global HAS_CHECK
|
||||
if salt_cmd.run('iptables --help').find('--check'):
|
||||
if salt_cmd.run('iptables --help', quiet=True).find('--check'):
|
||||
HAS_CHECK = True
|
||||
|
||||
if salt.utils.which('iptables'):
|
||||
|
Loading…
Reference in New Issue
Block a user