b335d16aab
Add 0024-libmultipath-use-typedef-for-keyword-handler-functio.patch Add 0025-libmultipath-print-the-correct-file-when-parsing-fai.patch Add 0026-libmultipath-pass-file-and-line-number-to-keyword-ha.patch Add 0027-libmultipath-make-set_int-take-a-range-for-valid-val.patch Add 0028-libmultipath-improve-checks-for-set_str.patch Add 0029-libmultipath-deprecate-file-and-directory-config-opt.patch Add 0030-libmultipath-split-set_int-to-enable-reuse.patch Add 0031-libmultipath-cleanup-invalid-config-handling.patch Add 0032-libmultipath-don-t-return-error-on-invalid-values.patch * The above 9 patches fix bz #2017969 Add 0033-multipathd-avoid-unnecessary-path-read-only-reloads.patch * Fixes bz #2017979 Add 0034-multipath-fix-exit-status-of-multipath-T.patch Resolves: bz #2017969, #2017979
27 lines
764 B
Diff
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 748e7902..80fa68e5 100644
|
|
--- a/multipath/main.c
|
|
+++ b/multipath/main.c
|
|
@@ -606,6 +606,7 @@ configure (struct config *conf, enum mpath_cmds cmd,
|
|
|
|
dump_config(conf, hwes, curmp);
|
|
vector_free(hwes);
|
|
+ r = RTVL_OK;
|
|
goto out;
|
|
}
|
|
|