[PATCH] lxc: Format --handshakefd for controller cmd fully

Peter Krempa pkrempa at redhat.com
Mon Apr 19 09:01:50 UTC 2021


On Mon, Apr 19, 2021 at 09:34:16 +0200, Michal Privoznik wrote:
> 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.

That is an extremely questionable "feature" of the commanline parser.

> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/lxc/lxc_process.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>




More information about the libvir-list mailing list