From 4257648e86f59327447602b422203f438ae40e68 Mon Sep 17 00:00:00 2001 From: Penwing Date: Sun, 21 Jan 2024 19:35:45 +0100 Subject: [PATCH] fixed double terminal output --- src/tools/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/mod.rs b/src/tools/mod.rs index 7af27b4..42c4f92 100644 --- a/src/tools/mod.rs +++ b/src/tools/mod.rs @@ -163,7 +163,7 @@ pub fn run_command(cmd : String) -> CommandEntry { entry.command = cmd; entry.output = (&String::from_utf8_lossy(&output.stdout)).to_string(); - entry.error = (&String::from_utf8_lossy(&output.stdout)).to_string(); + entry.error = (&String::from_utf8_lossy(&output.stderr)).to_string(); entry }