spamhaus icon indicating copy to clipboard operation
spamhaus copied to clipboard

Silence stderr output when testing if chain exists

Open ddarbyson opened this issue 5 years ago • 0 comments

When testing iptables if the chain exists, the output to stderr is not necessary if the test fails... if wrapping this program in a cron silencer like cronic https://github.com/justincase/cronic this causes false positives.

ddarbyson avatar Mar 01 '19 03:03 ddarbyson