forked from brl/citadel-tools
Fix unused function error return value
This commit is contained in:
parent
04457a47ef
commit
96f364cfe8
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user