diff --git a/WHATS_NEW b/WHATS_NEW index 50cf31883..23d87871a 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.147 - ================================== + Fix test for lvremove failure in lvconvert --uncache (2.02.146). Version 2.02.146 - 11th March 2016 ================================== diff --git a/tools/lvconvert.c b/tools/lvconvert.c index d80292a76..f7a3df6c2 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -2043,7 +2043,7 @@ static int _lvconvert_uncache(struct cmd_context *cmd, } } - if (!lvremove_single(cmd, remove_lv, NULL)) + if (lvremove_single(cmd, remove_lv, NULL) != ECMD_PROCESSED) return_0; if (remove_lv != lv)