From 0de2a6ad43ab0c93873db58cf2d10dd44e0f9e39 Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Mon, 4 Sep 2006 00:15:44 +0200 Subject: [PATCH] [multipath] Fixup return code for 'multipath -l' 'multipath -l' should really set the return code to '0' if no error occurred. Hannes Reinecke, Suse --- multipath/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multipath/main.c b/multipath/main.c index c1257a2..b6f8814 100644 --- a/multipath/main.c +++ b/multipath/main.c @@ -280,8 +280,10 @@ configure (void) filter_pathvec(pathvec, refwwid); - if (conf->list) + if (conf->list) { + r = 0; goto out; + } /* * core logic entry point -- 2.7.4