[dm-devel] multipath -f/-F exit status
Christophe Varoqui
christophe.varoqui at free.fr
Wed Dec 17 23:05:23 UTC 2008
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);
More information about the dm-devel
mailing list