diff options
Diffstat (limited to 'contrib/mount')
-rw-r--r-- | contrib/mount | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mount b/contrib/mount index d8ba81bc..1f0d8a4a 100644 --- a/contrib/mount +++ b/contrib/mount @@ -17,7 +17,7 @@ _mount() [[ "$cur" == \\ ]] && cur="/" if [[ "$cur" == *:* ]]; then - for sm in $(type -P showmount) {,/usr}/{,s}bin/showmount; do + for sm in "$(type -P showmount)" {,/usr}/{,s}bin/showmount; do [ -x "$sm" ] || continue COMPREPLY=( $( compgen -W "$( "$sm" -e ${cur%%:*} | \ awk 'NR>1 {print $1}' )" -- "${cur#*:}" ) ) |