diff --git a/src/uu/tail/src/tail.rs b/src/uu/tail/src/tail.rs index f579c6a11..a9307d4cd 100644 --- a/src/uu/tail/src/tail.rs +++ b/src/uu/tail/src/tail.rs @@ -596,7 +596,7 @@ fn print_target_section< } } else { #[cfg(any(target_os = "linux", target_os = "android"))] - if uucore::pipes::splice_unbounded_broker(file, &mut stdout)?.is_err() { + if uucore::pipes::splice_unbounded_auto(file, &mut stdout)? { io::copy(file, &mut stdout)?; } #[cfg(not(any(target_os = "linux", target_os = "android")))]