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

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

 



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@xxxxxxxxxx>
---
 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@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