Re: multipath -f/-F exit status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux