From 685c51509eb0d04fbd382bfb6ebc294a06376645 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 9 Jun 2013 11:00:20 +0100 Subject: cli: Fix typo in earlier commit. --- cli/cli_dump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/cli_dump.cpp') diff --git a/cli/cli_dump.cpp b/cli/cli_dump.cpp index 10dcd61d..1b532563 100644 --- a/cli/cli_dump.cpp +++ b/cli/cli_dump.cpp @@ -158,7 +158,7 @@ command(int argc, char *argv[]) #ifdef _WIN32 color = COLOR_OPTION_ALWAYS; #else - color = isatty(STDERR_FILENO) ? COLOR_OPTION_ALWAYS : COLOR_OPTION_NEVER; + color = isatty(STDOUT_FILENO) ? COLOR_OPTION_ALWAYS : COLOR_OPTION_NEVER; pipepager(); #endif } -- cgit v1.2.3