From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Varoqui Subject: Re: multipath -f/-F exit status Date: Thu, 18 Dec 2008 00:05:23 +0100 Message-ID: <20081218000523.6c57adc8@plop> References: <20081213125937.2ddc34d6@plop> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081213125937.2ddc34d6@plop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: bmr@redhat.com Cc: dm-devel@redhat.com List-Id: dm-devel.ids The following patch will appear soon at k.org It should do what you expect. Thanks for the comment, cvaroqui diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c index bcbeb28..6b289cf 100644 --- a/libmultipath/devmapper.c +++ b/libmultipath/devmapper.c @@ -568,7 +568,7 @@ dm_flush_maps (void) goto out; do { - r += dm_flush_map(names->name); + r |= dm_flush_map(names->name); next = names->next; names = (void *) names + next; } while (next);