mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
debug: vgdisplay trace failing result code
Add stack on error path.
This commit is contained in:
parent
a8fd88463e
commit
b193809987
@ -22,7 +22,8 @@ static int vgdisplay_single(struct cmd_context *cmd, const char *vg_name,
|
||||
if (arg_count(cmd, activevolumegroups_ARG) && !lvs_in_vg_activated(vg))
|
||||
return ECMD_PROCESSED;
|
||||
|
||||
vg_check_status(vg, EXPORTED_VG);
|
||||
if (!vg_check_status(vg, EXPORTED_VG))
|
||||
stack;
|
||||
|
||||
if (arg_count(cmd, colon_ARG)) {
|
||||
vgdisplay_colons(vg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user