From 41438d40d60ae839a32020a98b0aae3cd3f4d9bf Mon Sep 17 00:00:00 2001 From: Gao feng Date: Tue, 20 Sep 2016 07:46:45 +0800 Subject: [PATCH] remove unnecessary stopping pod if setup pod failed already has hyper_destroy_pod when start pod failed. Signed-off-by: Gao feng --- src/init.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/init.c b/src/init.c index fabf096..ee895c4 100644 --- a/src/init.c +++ b/src/init.c @@ -327,9 +327,6 @@ static int hyper_setup_pod_init(struct hyper_pod *pod) out: close(arg.ctl_pipe[1]); close(arg.ctl_pipe[0]); - if (ret < 0) { - hyper_stop_pod(pod); - } return ret; }