summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_REDIRECT.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-09-15 17:47:15 +0200
committerPhil Sutter <phil@nwl.cc>2021-09-22 23:51:07 +0200
commit2ed6dc7557b8c4a70bfd81684a72737312d7bd4b (patch)
tree8c19e97a7ce0b221f516f3652fdac614042cb3c0 /extensions/libipt_REDIRECT.t
parent63ab4fe3a1919b668953542841f4397544c4bb15 (diff)
tests: iptables-test: Fix conditional colors on stderr
Štěpán's patch to make colored output depend on whether output is a TTY clashed with my change to print errors to stderr instead of stdout. Fix this by telling maybe_colored() if it should print colors or not as only caller knows where output is sent to. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libipt_REDIRECT.t')
0 files changed, 0 insertions, 0 deletions