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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx>
---
 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

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux