daemon: Remove check that can never fail

This commit is contained in:
bjorn3
2026-04-05 14:55:28 +02:00
parent 6a59d6f2d4
commit ec0d29285e
+1 -5
View File
@@ -67,11 +67,7 @@ impl Daemon {
let mut data = [0];
match read_pipe.read_exact(&mut data) {
Ok(()) => {
if data[0] != 0 {
eprintln!("daemon: {cmd:?} failed with {}", data[0]);
}
}
Ok(()) => {}
Err(err) if err.kind() == io::ErrorKind::UnexpectedEof => {
eprintln!("daemon: {cmd:?} exited without notifying readiness");
}