device-mapper-multipath/0013-multipath-fix-exit-status-of-multipath-T.patch
Benjamin Marzinski 18d73f2333 device-mapper-multipath-0.8.7-4
Update to the head of the upstream staging branch
  * Patches 0013 - 0024 are from the upstream staging branch
Rename redhat patches
  * Previous patches 0013-0022 are now patches 0025-0034
2021-12-13 13:09:30 -06:00

27 lines
764 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Fri, 22 Oct 2021 12:58:11 +0200
Subject: [PATCH] multipath: fix exit status of multipath -T
We must set the return value in configure().
Signed-off-by: Martin Wilck <mwilck@suse.com>
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
multipath/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/multipath/main.c b/multipath/main.c
index 65ece830..b2d300e5 100644
--- a/multipath/main.c
+++ b/multipath/main.c
@@ -560,6 +560,7 @@ configure (struct config *conf, enum mpath_cmds cmd,
dump_config(conf, hwes, curmp);
vector_free(hwes);
+ r = RTVL_OK;
goto out;
}