diff options
author | Alexander Kuleshov | 2015-10-02 11:38:56 +0200 |
---|---|---|
committer | Karel Zak | 2015-10-02 12:34:23 +0200 |
commit | 100a43932c5769f54a641ec426fca9ef570d53b0 (patch) | |
tree | 2e60d9cc3afdaf09bc8ac29d041033f936632b2b /bash-completion | |
parent | fdisk: to recognize partition type 0xEA (Rufus) (diff) | |
download | kernel-qcow2-util-linux-100a43932c5769f54a641ec426fca9ef570d53b0.tar.gz kernel-qcow2-util-linux-100a43932c5769f54a641ec426fca9ef570d53b0.tar.xz kernel-qcow2-util-linux-100a43932c5769f54a641ec426fca9ef570d53b0.zip |
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 <kuleshovmail@gmail.com>
Diffstat (limited to 'bash-completion')
-rw-r--r-- | bash-completion/findmnt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion/findmnt b/bash-completion/findmnt index d7e06c8d4..946c22a98 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') |