diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-11 00:54:32 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-11 00:56:43 +0100 |
commit | 236a45dfc5e0292c99240aaeef42591c77a28549 (patch) | |
tree | 484491b1de9e2fa2d2f705e839b65adba9af9edc /tools/toollib.c | |
parent | 4bbaff1fa621353d0d2adbbf86dd26284b8a11e3 (diff) | |
download | lvm2-236a45dfc5e0292c99240aaeef42591c77a28549.tar.gz |
toollib: preserve return code 5
Diffstat (limited to 'tools/toollib.c')
-rw-r--r-- | tools/toollib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/toollib.c b/tools/toollib.c index a8bda8bcd..67fbbdaa0 100644 --- a/tools/toollib.c +++ b/tools/toollib.c @@ -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, |