* [PATCH] Fixup return code for 'multipath -l'
@ 2006-09-01 7:36 Hannes Reinecke
2006-09-03 22:39 ` Christophe Varoqui
0 siblings, 1 reply; 2+ messages in thread
From: Hannes Reinecke @ 2006-09-01 7:36 UTC (permalink / raw)
To: christophe varoqui; +Cc: device-mapper development
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
Hi Christophe,
'multipath -l' should really set the return code to '0' if no error
occurred.
Please apply.
Cheers,
Hannes
--
Dr. Hannes Reinecke hare@suse.de
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
[-- Attachment #2: multipath-tools-fixup-return-code --]
[-- Type: text/plain, Size: 384 bytes --]
multipath/main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
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
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fixup return code for 'multipath -l'
2006-09-01 7:36 [PATCH] Fixup return code for 'multipath -l' Hannes Reinecke
@ 2006-09-03 22:39 ` Christophe Varoqui
0 siblings, 0 replies; 2+ messages in thread
From: Christophe Varoqui @ 2006-09-03 22:39 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: device-mapper development
Le vendredi 01 septembre 2006 à 09:36 +0200, Hannes Reinecke a écrit :
> Hi Christophe,
>
> 'multipath -l' should really set the return code to '0' if no error
> occurred.
>
> Please apply.
>
Done.
The 4 previous patches are also merged.
Thanks,
cvaroqui
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-03 22:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01 7:36 [PATCH] Fixup return code for 'multipath -l' Hannes Reinecke
2006-09-03 22:39 ` Christophe Varoqui
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.