diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2132,7 +2132,7 @@ main (int argc, char **argv) } if (color_option == 2) - color_option = should_colorize (STDOUT_FILENO); + color_option = isatty (STDOUT_FILENO) && should_colorize (); init_colorize (); /* POSIX.2 says that -q overrides -l, which in turn overrides the |