[Devel] [PATCH 2/2] have restart return error if error

Serge E. Hallyn serue at us.ibm.com
Thu Oct 15 11:49:35 PDT 2009


I still need this for cr_tests/userns/run_simple.sh to succeed.
All tests pass with this patch applied.

Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
 restart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/restart.c b/restart.c
index cb81293..fa786ef 100644
--- a/restart.c
+++ b/restart.c
@@ -780,7 +780,7 @@ static int ckpt_parse_status(int status, int mimic, int verbose)
 		}
 	}
 
-	return 0;
+	return ret;
 }
 
 static int ckpt_collect_child(struct ckpt_ctx *ctx)
-- 
1.6.1.1

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




More information about the Devel mailing list