]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc_controller: Move closing of handshakeFd out of virLXCControllerDaemonHandshake()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Apr 2021 11:34:55 +0000 (13:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 22 Apr 2021 11:53:05 +0000 (13:53 +0200)
commitbfe2d857f2bac06b9abe54f6439c0624a17823d7
treeedc5a9f7bad8d8c203b9f2871e54af55def4ab2d
parentda61e92739b16bb9403f94b5a5e64fe728d7bbe9
lxc_controller: Move closing of handshakeFd out of virLXCControllerDaemonHandshake()

Future commits will want to reuse the handshakeFd and thus it
mustn't be closed in virLXCControllerDaemonHandshake(). Do the
closing explicitly afterwards.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/lxc/lxc_controller.c