remove unnecessary stopping pod if setup pod failed

already has hyper_destroy_pod when start pod failed.

Signed-off-by: Gao feng <omarapazanadi@gmail.com>
This commit is contained in:
Gao feng
2016-09-20 08:05:29 +08:00
parent 7294253548
commit 41438d40d6
-3
View File
@@ -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;
}