We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ae895 commit 36eae24Copy full SHA for 36eae24
src/clean.rs
@@ -46,10 +46,10 @@ pub fn clean(
46
parts_force_deletion: options.parts_force_deletion,
47
};
48
new_me.fpt_area.clean(&opts);
49
- if options.relocate {
50
- if let Err(e) = new_me.fpt_area.relocate_partitions() {
51
- warn!("Could not relocate: {e}")
52
- }
+ if options.relocate
+ && let Err(e) = new_me.fpt_area.relocate_partitions()
+ {
+ warn!("Could not relocate: {e}")
53
}
54
match new_me.fpt_area.to_vec() {
55
Ok(cleaned) => {
0 commit comments