1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-10 05:18:36 +03:00

Fix return code if VG specified on command line is not found.

This commit is contained in:
Alasdair Kergon 2006-06-14 20:27:15 +00:00
parent fd6b94f20e
commit b36647598b
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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)) {