Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=090db98828694a00016395... Commit: 090db98828694a00016395cc6c2a25fa1de953f4 Parent: 8146548d25e9104f0d530d943290d448c1994c0a Author: Marian Csontos mcsontos@redhat.com AuthorDate: Wed Sep 27 13:20:25 2017 +0200 Committer: Marian Csontos mcsontos@redhat.com CommitterDate: Wed Sep 27 13:20:25 2017 +0200
pvmove: Change error message
Change error message to match previously used one used by tests. --- tools/pvmove.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools/pvmove.c b/tools/pvmove.c index 750f08e..305647e 100644 --- a/tools/pvmove.c +++ b/tools/pvmove.c @@ -538,6 +538,7 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd, }
if (lv_name && !lv_found) { + /* NOTE: Is this now an internal error? It is already checked in _pvmove_setup_single */ log_error("Logical volume %s not found.", lv_name); return NULL; } @@ -715,7 +716,7 @@ static int _pvmove_setup_single(struct cmd_context *cmd, }
if (!(lv = find_lv(vg, lv_name))) { - log_error("Failed to find LV with name %s", lv_name); + log_error("Logical volume %s not found.", lv_name); return ECMD_FAILED; } }
lvm2-commits@lists.fedorahosted.org