mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 21:15:20 +00:00
lxc: Format --handshakefd for controller cmd fully
The command line argument is called --hanshakefd (check out lxc_controller.c:main()). But the command line builder puts only --handshake. This works, because there is no other argument sharing the prefix. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
ea7d0ca37c
commit
69a4cd9249
@ -1002,7 +1002,7 @@ virLXCProcessBuildControllerCmd(virLXCDriver *driver,
|
||||
virCommandAddArgPair(cmd, "--security",
|
||||
virSecurityManagerGetModel(driver->securityManager));
|
||||
|
||||
virCommandAddArg(cmd, "--handshake");
|
||||
virCommandAddArg(cmd, "--handshakefd");
|
||||
virCommandAddArgFormat(cmd, "%d", handshakefd);
|
||||
|
||||
for (i = 0; veths && veths[i]; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user