summaryrefslogtreecommitdiffstats
path: root/tools/pvremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r--tools/pvremove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c
index fe7335bb..68a59460 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -38,8 +38,8 @@ static int pvremove_check(struct cmd_context *cmd, const char *name)
if (!(pv = pv_read(cmd, name, NULL, NULL, 1))) {
if (arg_count(cmd, force_ARG))
return 1;
- else
- return 0;
+ log_error("Physical Volume %s not found", name);
+ return 0;
}
/* orphan ? */