summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d33ec28)
raw | patch | inline | side by side (parent: d33ec28)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 8 Aug 2014 07:30:34 +0000 (09:30 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 8 Aug 2014 07:30:34 +0000 (09:30 +0200) |
src/lvm.c | patch | blob | history |
diff --git a/src/lvm.c b/src/lvm.c
index bd2274014d2f7db1451e5d5790dd50be6b5118c5..9e245423fef2c829d842619a3a77ee8213864ae4 100644 (file)
--- a/src/lvm.c
+++ b/src/lvm.c
lvs = lvm_vg_list_lvs(vg);
if (!lvs) {
/* no VGs are defined, which is not an error per se */
- return (0);
+ return;
}
dm_list_iterate_items(lvl, lvs) {