mv: use question_mark

This commit is contained in:
xtqqczze
2026-04-20 16:52:31 +02:00
committed by Daniel Hofstetter
parent c8813c8331
commit 0a0f222447
+2 -1
View File
@@ -885,7 +885,8 @@ fn rename_fifo_fallback(from: &Path, to: &Path) -> io::Result<()> {
if to.try_exists()? {
fs::remove_file(to)?;
}
make_fifo(to).and_then(|_| fs::remove_file(from))
make_fifo(to)?;
fs::remove_file(from)
}
#[cfg(not(unix))]