Revert "start: close data socket in parent"

This reverts commit 37d5831e. Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent ec9d6a3c
...@@ -1149,11 +1149,6 @@ int __lxc_start(const char *name, struct lxc_conf *conf, ...@@ -1149,11 +1149,6 @@ int __lxc_start(const char *name, struct lxc_conf *conf,
ERROR("failed to spawn '%s'", name); ERROR("failed to spawn '%s'", name);
goto out_fini_nonet; goto out_fini_nonet;
} }
/* close parent side of data socket */
close(handler->data_sock[0]);
handler->data_sock[0] = -1;
close(handler->data_sock[1]);
handler->data_sock[1] = -1;
handler->conf->reboot = 0; handler->conf->reboot = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment