diff --git a/CHANGES b/CHANGES index c9a3357c..3db1435a 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/contrib/mkinitrd b/contrib/mkinitrd index 021de4b4..e50d1c62 100644 --- a/contrib/mkinitrd +++ b/contrib/mkinitrd @@ -6,7 +6,7 @@ have mkinitrd && _mkinitrd() { - local cur args + local cur prev args COMPREPLY=() cur=`_get_cword`