r359 - lvm2/trunk/tools

Bastian Blank waldi at costa.debian.org
Wed Jun 14 21:55:03 UTC 2006


Author: waldi
Date: Wed Jun 14 21:55:01 2006
New Revision: 359

Modified:
   lvm2/trunk/tools/toollib.c

Log:
tools/toollib.c: Add upstream fix for incorrect return values.
Closes: 373644


Modified: lvm2/trunk/tools/toollib.c
==============================================================================
--- lvm2/trunk/tools/toollib.c	(original)
+++ lvm2/trunk/tools/toollib.c	Wed Jun 14 21:55:01 2006
@@ -413,7 +413,7 @@
 	if (!(vg = vg_read(cmd, vg_name, vgid, &consistent))) {
 		log_error("Volume group \"%s\" not found", vg_name);
 		unlock_vg(cmd, vg_name);
-		return ret_max;
+		return ECMD_FAILED;
 	}
 
 	if (!list_empty(tags)) {



More information about the pkg-lvm-commits mailing list