summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/bash-completion/container2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index 123e5a4..2a02016 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -229,7 +229,7 @@ _container()
;;
*)
- local commands=$(ls /usr/lib/container-tools/container/)
+ local commands=$(cd /usr/lib/container-tools/container 2>/dev/null && ls)
COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) )
return 0
;;