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); -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel