Skip to content

Commit 17fcc51

Browse files
authored
Merge pull request #861 from omertuc/wipefs
install: improve error message when existing partitions are detected
2 parents b469332 + e7272ed commit 17fcc51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/install/baseline.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub(crate) fn install_create_rootfs(
180180
crate::blockdev::wipefs(dev)?;
181181
} else if device.has_children() {
182182
anyhow::bail!(
183-
"Detected existing partitions on {}; use e.g. `wipefs` if you intend to overwrite",
183+
"Detected existing partitions on {}; use e.g. `wipefs` or --wipe if you intend to overwrite",
184184
opts.device
185185
);
186186
}

0 commit comments

Comments
 (0)