Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/uu/tee/src/tee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn tee(options: &Options) -> Result<()> {
return Ok(());
}

// We cannot use std::io::copy here as it doesn't flush the output buffer
// don't use io::copy since content of 1 read should be immediately written for posix requirement
let res = match output.copy_unbuffered() {
// ErrorKind::Other is raised by MultiWriter when all writers
// have exited, so that copy will abort. It's equivalent to
Expand Down
Loading