diff --git a/Cargo.lock b/Cargo.lock index f2a7cd6..f4d5a19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -332,7 +332,7 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "microfetch" -version = "0.4.3" +version = "0.4.4" dependencies = [ "color-eyre", "criterion", diff --git a/Cargo.toml b/Cargo.toml index 9e1ea00..2db7a6a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "microfetch" -version = "0.4.3" +version = "0.4.4" edition = "2021" [lib] diff --git a/src/main.rs b/src/main.rs index 0ea1672..3eee7a0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,6 +84,6 @@ fn print_system_info(fields: &Fields) { std::io::stdout() .lock() - .write_all(system_info.as_bytes()) + .write_all(format!("{}\n", system_info).as_bytes()) .expect("Failed to write to stdout"); }