From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Martin Wilck 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 Reviewed-by: Benjamin Marzinski Signed-off-by: Benjamin Marzinski --- 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; }