* main - toollib: preserve return code 5
@ 2021-03-10 23:58 Zdenek Kabelac
0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2021-03-10 23:58 UTC (permalink / raw)
To: lvm-devel
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=236a45dfc5e0292c99240aaeef42591c77a28549
Commit: 236a45dfc5e0292c99240aaeef42591c77a28549
Parent: 4bbaff1fa621353d0d2adbbf86dd26284b8a11e3
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Thu Mar 11 00:54:32 2021 +0100
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Thu Mar 11 00:56:43 2021 +0100
toollib: preserve return code 5
---
tools/toollib.c | 1 +
1 file changed, 1 insertion(+)
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,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-10 23:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10 23:58 main - toollib: preserve return code 5 Zdenek Kabelac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.