mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix return code if VG specified on command line is not found.
This commit is contained in:
parent
2415c1ef87
commit
4bfab20a41
@ -1,5 +1,6 @@
|
||||
Version 2.02.07 -
|
||||
=================================
|
||||
Fix return code if VG specified on command line is not found.
|
||||
Fix PV tools to include orphaned PVs in default output again.
|
||||
Fixed unaligned access when using clvm.
|
||||
Fix an extra dev_close in a label_read error path.
|
||||
|
@ -413,7 +413,7 @@ static int _process_one_vg(struct cmd_context *cmd, const char *vg_name,
|
||||
if (!(vg = vg_read(cmd, vg_name, vgid, &consistent))) {
|
||||
log_error("Volume group \"%s\" not found", vg_name);
|
||||
unlock_vg(cmd, vg_name);
|
||||
return ret_max;
|
||||
return ECMD_FAILED;
|
||||
}
|
||||
|
||||
if (!list_empty(tags)) {
|
||||
|
Loading…
Reference in New Issue
Block a user