mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-07 14:11:36 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user