diff options
Diffstat (limited to 'tools/perf/util/newt.c')
-rw-r--r-- | tools/perf/util/newt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index d54c540f49db..cf182ca132fe 100644 --- a/tools/perf/util/newt.c +++ b/tools/perf/util/newt.c | |||
@@ -1139,6 +1139,7 @@ void setup_browser(void) | |||
1139 | struct newtPercentTreeColors *c = &defaultPercentTreeColors; | 1139 | struct newtPercentTreeColors *c = &defaultPercentTreeColors; |
1140 | 1140 | ||
1141 | if (!isatty(1) || !use_browser || dump_trace) { | 1141 | if (!isatty(1) || !use_browser || dump_trace) { |
1142 | use_browser = 0; | ||
1142 | setup_pager(); | 1143 | setup_pager(); |
1143 | return; | 1144 | return; |
1144 | } | 1145 | } |