Another attempt

This commit is contained in:
strNophix 2022-06-21 19:00:35 +02:00
parent 9df2b6a98a
commit 2727c82e02

View File

@ -15,11 +15,11 @@ fn main() {
if output.status.success() { if output.status.success() {
let std_out = std::str::from_utf8(&output.stdout).unwrap(); let std_out = std::str::from_utf8(&output.stdout).unwrap();
if std_out.len() > 0 { if std_out.len() > 0 {
println!("{}", std_out); print!("{}", std_out);
} }
let std_err = std::str::from_utf8(&output.stderr).unwrap(); let std_err = std::str::from_utf8(&output.stderr).unwrap();
if std_err.len() > 0 { if std_err.len() > 0 {
println!("{}", std_err); print!("{}", std_err);
} }
} else { } else {
std::process::exit(1); std::process::exit(1);