mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
toollib: preserve return code 5
This commit is contained in:
parent
4bbaff1fa6
commit
236a45dfc5
@ -4463,6 +4463,7 @@ int process_each_pv(struct cmd_context *cmd,
|
|||||||
ret_max = ret;
|
ret_max = ret;
|
||||||
if (ret_max == ECMD_FAILED)
|
if (ret_max == ECMD_FAILED)
|
||||||
goto_out;
|
goto_out;
|
||||||
|
ret_max = ECMD_FAILED; /* but ATM we've returned FAILED for all cases */
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = _process_pvs_in_vgs(cmd, read_flags, &all_vgnameids, &all_devices,
|
ret = _process_pvs_in_vgs(cmd, read_flags, &all_vgnameids, &all_devices,
|
||||||
|
Loading…
Reference in New Issue
Block a user