[PATCH 16/18] user-cr: Return proper success code

Matt Helsley matthltc at us.ibm.com
Thu Mar 17 10:27:48 PDT 2011


A > 0 value indicates success here (see the image_parse() loop).

Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
---
 ckptinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ckptinfo.c b/ckptinfo.c
index 76430b6..be1f89f 100644
--- a/ckptinfo.c
+++ b/ckptinfo.c
@@ -283,7 +283,7 @@ static int image_parse_tree(struct ckpt_hdr *h, int fd, struct args *args)
 	}
 	free(h);
 
-	return 0;
+	return 1;
 }
 
 static int image_parse_objref(struct ckpt_hdr *h, int fd, struct args *args)
-- 
1.6.3.3



More information about the Containers mailing list