From d482a0bd5cbd651595eee1785b1f9cd9d9e23524 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 5 Oct 2018 11:48:04 +0200 Subject: bash-completion: cleanup mount and umount --namespace * use only PATHs rather than PIDs to namespaces * add --namespace to umount too Signed-off-by: Karel Zak --- bash-completion/mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash-completion/mount') diff --git a/bash-completion/mount b/bash-completion/mount index 35cb19f7a..832947fd7 100644 --- a/bash-completion/mount +++ b/bash-completion/mount @@ -36,7 +36,7 @@ _mount_module() ;; '-N'|'--namespace') local NAMESPACE - NAMESPACE="$(lsns --type mnt --output PATH,PID --noheadings)" + NAMESPACE="$(lsns --type mnt --output PATH --noheadings)" COMPREPLY=( $(compgen -W "$NAMESPACE" -- $cur) ) return 0 ;; -- cgit v1.2.3-55-g7522