Redirect dpkg -l stderr to /dev/null

Fixes bug 1211413

Change-Id: I33a7e1e8fb3755c69ca0570e333e4908cb6f3da4
This commit is contained in:
Lorin Hochstein 2013-08-13 14:34:18 -04:00
parent af9a6cfb23
commit cfb708d9c5

@ -909,7 +909,7 @@ function is_package_installed() {
fi
if [[ "$os_PACKAGE" = "deb" ]]; then
dpkg -l "$@" > /dev/null
dpkg -l "$@" > /dev/null 2> /dev/null
elif [[ "$os_PACKAGE" = "rpm" ]]; then
rpm --quiet -q "$@"
else