From: Luyao Huang Date: Wed, 4 Feb 2015 13:32:52 +0000 (+0800) Subject: lxc: fix double close handshakefds[1] X-Git-Tag: v1.2.13-rc1~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cef725782fbf9dbf2d69c8161e48185dd45df6f;p=thirdparty%2Flibvirt.git lxc: fix double close handshakefds[1] Signed-off-by: Luyao Huang --- diff --git a/src/lxc/lxc_process.c b/src/lxc/lxc_process.c index 01da344829..b3854233a8 100644 --- a/src/lxc/lxc_process.c +++ b/src/lxc/lxc_process.c @@ -1270,11 +1270,6 @@ int virLXCProcessStart(virConnectPtr conn, goto error; } - if (VIR_CLOSE(handshakefds[1]) < 0) { - virReportSystemError(errno, "%s", _("could not close handshake fd")); - goto error; - } - if (virCommandHandshakeWait(cmd) < 0) goto error;