diff options
Diffstat (limited to 'framework/src/suricata/src/util-debug.c')
-rw-r--r-- | framework/src/suricata/src/util-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/suricata/src/util-debug.c b/framework/src/suricata/src/util-debug.c index f1ac0463..d9af08c4 100644 --- a/framework/src/suricata/src/util-debug.c +++ b/framework/src/suricata/src/util-debug.c @@ -776,7 +776,7 @@ static inline SCLogOPIfaceCtx *SCLogInitConsoleOPIface(const char *log_format, } iface_ctx->log_level = tmp_log_level; - if (isatty(fileno(stdout))) { + if (isatty(fileno(stdout)) && isatty(fileno(stderr))) { iface_ctx->use_color = TRUE; } |