summaryrefslogtreecommitdiff
path: root/cli/cli_dump.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-06-09 11:00:20 +0100
committerJosé Fonseca <jfonseca@vmware.com>2013-06-09 11:00:20 +0100
commit685c51509eb0d04fbd382bfb6ebc294a06376645 (patch)
tree2ff2dd6029da2d36e7f697de019c62450f2c7310 /cli/cli_dump.cpp
parentf9929052a04832b3e5bf6c0daf21719a27057c16 (diff)
cli: Fix typo in earlier commit.
Diffstat (limited to 'cli/cli_dump.cpp')
-rw-r--r--cli/cli_dump.cpp2
1 files changed, 1 insertions, 1 deletions
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
}