From cfb708d9c53e1680f21ef63c1715ca2693b9758d Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Tue, 13 Aug 2013 14:34:18 -0400 Subject: [PATCH] Redirect dpkg -l stderr to /dev/null Fixes bug 1211413 Change-Id: I33a7e1e8fb3755c69ca0570e333e4908cb6f3da4 --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index e9c60615e6..6ae650eb8e 100644 --- a/functions +++ b/functions @@ -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