mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
$ bash: words: bad array subscript PR: 196713 Submitted by: gnudalf@yandex.com Obtained from: upstream bug #1289597
11 lines
287 B
Text
11 lines
287 B
Text
--- bash_completion.orig 2015-01-20 16:17:24 UTC
|
|
+++ bash_completion
|
|
@@ -707,7 +707,7 @@ _init_completion()
|
|
fi
|
|
done
|
|
|
|
- [[ $cword -eq 0 ]] && return 1
|
|
+ [[ $cword -le 0 ]] && return 1
|
|
prev=${words[cword-1]}
|
|
|
|
[[ ${split-} ]] && _split_longopt && split=true
|