diff options
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 06511a3..3e87a33 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,6 +61,7 @@ fn log(child: Child, service_name: &str) -> anyhow::Result<()> { loop { let mut buf = String::new(); r.read_line(&mut buf)?; + buf.pop(); stdout.set_color(ColorSpec::new().set_fg(Some(Color::White)))?; write!(&mut stdout, "[{}] {}", service_name, buf)?; |