summaryrefslogtreecommitdiff
path: root/tools/pvremove.c
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2009-12-03 19:18:33 +0000
committerMilan Broz <mbroz@redhat.com>2009-12-03 19:18:33 +0000
commitfec4de956314593dfb854d4847c18ee6df66d5da (patch)
treecd59a1d96cdbf35b92cf1f1cd9073c9767cdb81e /tools/pvremove.c
parent60184834b55414359fa030ae328e7971c9e4037c (diff)
downloadlvm2-fec4de956314593dfb854d4847c18ee6df66d5da.tar.gz
Fix tools to report error when stopped by user.
(And do not produce internal error message.)
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r--tools/pvremove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c
index 3d7548071..34b721446 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -74,7 +74,7 @@ static int pvremove_check(struct cmd_context *cmd, const char *name)
/* prompt */
if (!arg_count(cmd, yes_ARG) &&
yes_no_prompt(_really_wipe, name, pv_vg_name(pv)) == 'n') {
- log_print("%s: physical volume label not removed", name);
+ log_error("%s: physical volume label not removed", name);
return 0;
}