Fix leaking $prev from mkinitrd completion.

This commit is contained in:
Ville Skyttä 2009-04-18 22:28:37 +03:00
parent 9bac0313da
commit 4dd5f087ae
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ bash-completion (1.x)
completion, assume only that --*file*= does, and that --*dir*= takes dirs.
* Add make --old/new-file, --assume-old/new, --what-if value completions.
* Add smartctl -n/--nocheck completion, add more other value completions.
* Fix leaking $prev from mkinitrd completion.
[ Todd Zullinger ]
* Make yum complete on filenames after install, deplist, update and upgrade

View File

@ -6,7 +6,7 @@
have mkinitrd &&
_mkinitrd()
{
local cur args
local cur prev args
COMPREPLY=()
cur=`_get_cword`