diff options
author | Štěpán Němec <snemec@redhat.com> | 2021-09-02 13:33:07 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-09-13 17:00:51 +0200 |
commit | b714d45dc4c2423d4df4cbf7ccf238ec441675ef (patch) | |
tree | 6720e771038b5c647fc6eaddee652f465e0ab1cf /extensions/libipt_SNAT.t | |
parent | 481626bb4e9c51477ec99dde0727e3af69d2380f (diff) |
iptables-test.py: print with color escapes only when stdout isatty
When the output doesn't go to a terminal (typical case: log files),
the escape sequences are just noise.
Signed-off-by: Štěpán Němec <snemec@redhat.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libipt_SNAT.t')
0 files changed, 0 insertions, 0 deletions