Blame SOURCES/0034-multipath-fix-exit-status-of-multipath-T.patch

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