From 2173e808ca7205afdc94d324348484e6e8327383 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ed=C3=AAnis=20Freindorfer=20Azevedo?= Date: Fri, 27 Aug 2021 08:48:38 -0300 Subject: [PATCH] Use `--running` instead of `--active`. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Commands block if container is frozen. Signed-off-by: Edênis Freindorfer Azevedo --- 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 c93f3d00f..457a5b80f 100644 --- a/config/bash/lxc.in +++ b/config/bash/lxc.in @@ -3,7 +3,7 @@ _lxc_names() { case ${words[0]} in lxc-attach | lxc-cgroup | lxc-checkpoint | lxc-console | lxc-device | lxc-freeze | lxc-stop ) - COMPREPLY=( $( compgen -W "$( command lxc-ls --active )" -- "$cur" ) ) + COMPREPLY=( $( compgen -W "$( command lxc-ls --running )" -- "$cur" ) ) ;; lxc-destroy | lxc-execute | lxc-snapshot | lxc-start ) COMPREPLY=( $( compgen -W "$( command lxc-ls --stopped )" -- "$cur" ) ) -- 2.47.2