diff options
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | tools/pvremove.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ Version 2.02.17 - =================================== + Add missing pvremove error message when device doesn't exist. When lvconvert allocates a mirror log, respect parallel area constraints. Use loop to iterate through the now-ordered policy list in _allocate(). Check for failure to allocate just the mirror log. 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 ? */ |