From: Alexander Kuleshov Date: Fri, 2 Oct 2015 09:38:56 +0000 (+0600) Subject: bash-completion: curly brace missed for findmnt X-Git-Tag: v2.28-rc1~329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=100a43932c5769f54a641ec426fca9ef570d53b0;p=thirdparty%2Futil-linux.git bash-completion: curly brace missed for findmnt This patch provides fix for bash-completion/fndmt script. There is curly brace missed in the completion generation for the -M/--mountpoint option. In other way we will get following messages: bash: /etc/bash_completion.d/findmnt: line 91: unexpected EOF while looking for matching `)' bash: /etc/bash_completion.d/findmnt: line 141: syntax error: unexpected end of file Signed-off-by: Alexander Kuleshov --- diff --git a/bash-completion/findmnt b/bash-completion/findmnt index d7e06c8d40..946c22a98c 100644 --- a/bash-completion/findmnt +++ b/bash-completion/findmnt @@ -88,7 +88,7 @@ _findmnt_module() '-M'|'--mountpoint') local IFS=$'\n' compopt -o filenames - COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/") ) + COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) ) return 0 ;; '-h'|'--help'|'-V'|'--version')