From 70601bb696502fd5d597c4dcaaeb5897a4d36961 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 22 Apr 2010 21:53:11 +0200 Subject: [PATCH] wipefs: print warning is PT detected Signed-off-by: Karel Zak --- misc-utils/wipefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 7cee1e51..4d850501 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -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); } -- 2.39.5