wipefs: print warning is PT detected
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
cba1f9757a
commit
70601bb696
|
@ -210,7 +210,7 @@ read_offsets(struct wipe_desc *wp, const char *fname, int zap)
|
|||
if (rc == 0) {
|
||||
const char *type = NULL;
|
||||
blkid_probe_lookup_value(pr, "PTTYPE", &type, NULL);
|
||||
errx(EXIT_FAILURE, _("error: %s: appears to contain '%s' "
|
||||
warnx(_("WARNING: %s: appears to contain '%s' "
|
||||
"partition table"), fname, type);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue