Hush when trying to load _rpm_installed_packages.

git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1889 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Ville Skyttä 2011-11-06 21:38:41 +00:00
parent 58ee0ff610
commit b3a006c1cf
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ _rpmlint_installed_packages()
{
if declare -F _rpm_installed_packages &>/dev/null ; then
_rpm_installed_packages
elif declare -F _xfunc ; then
elif declare -F _xfunc &>/dev/null ; then
# bash-completion 1.90+ dynamic loading
_xfunc rpm _rpm_installed_packages
fi