mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-24 20:32:22 +00:00
lxc: fix double close handshakefds[1]
Signed-off-by: Luyao Huang <lhuang@redhat.com>
This commit is contained in:
parent
5a1998d3c4
commit
4cef725782
@ -1270,11 +1270,6 @@ int virLXCProcessStart(virConnectPtr conn,
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (VIR_CLOSE(handshakefds[1]) < 0) {
|
|
||||||
virReportSystemError(errno, "%s", _("could not close handshake fd"));
|
|
||||||
goto error;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (virCommandHandshakeWait(cmd) < 0)
|
if (virCommandHandshakeWait(cmd) < 0)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user