mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
readlink /etc/mtab > /dev/full panics (#10525)
This commit is contained in:
@@ -185,7 +185,7 @@ pub fn uu_app() -> Command {
|
||||
fn show(path: &Path, line_ending: Option<LineEnding>) -> std::io::Result<()> {
|
||||
uucore::display::print_verbatim(path)?;
|
||||
if let Some(line_ending) = line_ending {
|
||||
print!("{line_ending}");
|
||||
write!(stdout(), "{line_ending}")?;
|
||||
}
|
||||
stdout().flush()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user