The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1389
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === The _have method of bash completion is internal and have should not be used. In particular when using old versions of bash completion the _have method does not even exist.
From 77bb7b2dd2fe6bcb275733c84aeb930ea4336044 Mon Sep 17 00:00:00 2001 From: Steve Traylen <steve.tray...@cern.ch> Date: Mon, 23 Jan 2017 11:12:55 +0100 Subject: [PATCH] Use external API of bash completion The _have method of bash completion is internal and have should not be used. In particular when using old versions of bash completion the _have method does not even exist. --- config/bash/lxc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/bash/lxc.in b/config/bash/lxc.in index 7dcf302..ebd49bb 100644 --- a/config/bash/lxc.in +++ b/config/bash/lxc.in @@ -1,4 +1,4 @@ -_have lxc-start && { +have lxc-start && { _lxc_names() { COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) ) }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel