1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

toollib: preserve return code 5

This commit is contained in:
Zdenek Kabelac 2021-03-11 00:54:32 +01:00
parent 4bbaff1fa6
commit 236a45dfc5

View File

@ -4463,6 +4463,7 @@ int process_each_pv(struct cmd_context *cmd,
ret_max = ret;
if (ret_max == ECMD_FAILED)
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,