summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-18 06:13:29 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-07-01 09:31:08 +0000
commit2472e7d48e4fd101601d5e5851881f570f59cecd (patch)
tree25820b5f46a7454af3b75b8fcc77349869f70202 /share
parentLooking up container create scripts dynamically in container bash-completion. (diff)
downloadcompute-tools-2472e7d48e4fd101601d5e5851881f570f59cecd.tar.xz
compute-tools-2472e7d48e4fd101601d5e5851881f570f59cecd.zip
Correcting local commands extraction in container bash-completion.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-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
;;