提交 4cef7257 编写于 作者: L Luyao Huang 提交者: Martin Kletzander

lxc: fix double close handshakefds[1]

Signed-off-by: NLuyao Huang <lhuang@redhat.com>
上级 5a1998d3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册