Skip to contentSkip to conversation

master - Fix premature return from get_pool_params

PATCH Marian Csontos 1 participant 1 message Feb 13, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a060b3b39088d81a8b5d419ae8e2444aa9b9d8ec
Commit:        a060b3b39088d81a8b5d419ae8e2444aa9b9d8ec
Parent:        e8225b86158cb3ea8edc678327a2c33543a73c01
Author:        Marian Csontos <[email protected]>
AuthorDate:    Thu Feb 13 10:49:34 2014 +0100
Committer:     Marian Csontos <[email protected]>
CommitterDate: Thu Feb 13 10:50:56 2014 +0100

Fix premature return from get_pool_params

---
 tools/toollib.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
tools/toollib.c +0 -1
index 3dc76b8..7deb3a4 100644
@@ -1673,7 +1673,6 @@ int get_pool_params(struct cmd_context *cmd,
 				  " converting to pool LVs.");
 			return_0;
 		}
-		return 1;
 	}
 
 	*passed_args = 0;