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 }