1
0
forked from brl/citadel-tools

Fix unused function error return value

This commit is contained in:
isa 2024-08-29 15:42:42 -04:00
parent 04457a47ef
commit 96f364cfe8

View File

@ -255,7 +255,7 @@ fn install_image(arg_matches: &ArgMatches) -> Result<(), Box<dyn std::error::Err
if image_dest.exists() { if image_dest.exists() {
rotate(&image_dest)?; rotate(&image_dest)?;
} }
util::rename(source, &image_dest); util::rename(source, &image_dest)?;
Ok(()) Ok(())
} }