diff options
author | Milan Broz <mbroz@redhat.com> | 2009-12-03 19:18:33 +0000 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2009-12-03 19:18:33 +0000 |
commit | fec4de956314593dfb854d4847c18ee6df66d5da (patch) | |
tree | cd59a1d96cdbf35b92cf1f1cd9073c9767cdb81e /tools/pvremove.c | |
parent | 60184834b55414359fa030ae328e7971c9e4037c (diff) | |
download | lvm2-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.c | 2 |
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; } |