From 4df5e714422690a12be44f415446813ad0dd0919 Mon Sep 17 00:00:00 2001 From: Alexander Pankratov Date: Tue, 7 May 2024 20:16:49 +0200 Subject: [PATCH] Fix: enable stdout in pyroscope mode --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 1abe469c..d5f588e4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -549,7 +549,7 @@ impl Config { config.native = matches.occurrences_of("native") > 0; } - config.capture_output = config.command != "record" || matches.occurrences_of("capture") > 0; + config.capture_output = (config.command != "record" && config.command != "pyroscope" ) || matches.occurrences_of("capture") > 0; if !config.capture_output { config.hide_progress = true; }