diff --git a/conmon-rs/server/src/container_io.rs b/conmon-rs/server/src/container_io.rs index 73208381ef..d4cf921eb0 100644 --- a/conmon-rs/server/src/container_io.rs +++ b/conmon-rs/server/src/container_io.rs @@ -243,7 +243,7 @@ impl ContainerIO { loop { match reader.read(&mut buf).await { - Ok(n) if n == 0 => { + Ok(0) => { debug!("Nothing more to read"); attach