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

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