Skip to content

Commit

Permalink
Merge pull request #861 from omertuc/wipefs
Browse files Browse the repository at this point in the history
install: improve error message when existing partitions are detected
  • Loading branch information
cgwalters authored Oct 31, 2024
2 parents b469332 + e7272ed commit 17fcc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/install/baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub(crate) fn install_create_rootfs(
crate::blockdev::wipefs(dev)?;
} else if device.has_children() {
anyhow::bail!(
"Detected existing partitions on {}; use e.g. `wipefs` if you intend to overwrite",
"Detected existing partitions on {}; use e.g. `wipefs` or --wipe if you intend to overwrite",
opts.device
);
}
Expand Down

0 comments on commit 17fcc51

Please sign in to comment.