]> err.no Git - util-linux/commitdiff
wipefs: print warning is PT detected
authorKarel Zak <kzak@redhat.com>
Thu, 22 Apr 2010 19:53:11 +0000 (21:53 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 22 Apr 2010 19:53:11 +0000 (21:53 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/wipefs.c

index 7cee1e5142a24e849b839818cd4b492a745933fb..4d85050112f6501e3ef13f5e511860919a43da10 100644 (file)
@@ -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);
        }