summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-08-06 01:09:07 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-08-06 01:09:07 +0200
commit4caf8231804dfce5a1a58a56dfe4df21a31be363 (patch)
tree60ea935e0a5f7512392053335612db3348f1b806 /cmdline
parentc1cd1ac2fd051a11ec5c3eafad68b39521594ed6 (diff)
disable the display of the error messages for DoInstall if DoBuildDep
is calling the helper (enabled by enforcing failure reporting)
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 6b6c8a23f..4e307b657 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1434,7 +1434,7 @@ bool TryToInstallBuildDep(pkgCache::PkgIterator Pkg,pkgCacheFile &Cache,
if (Cache[Pkg].CandidateVer == 0 && Pkg->ProvidesList != 0)
{
CacheSetHelperAPTGet helper(c1out);
- helper.showErrors(AllowFail == false);
+ helper.showErrors(false);
pkgCache::VerIterator Ver = helper.canNotFindNewestVer(Cache, Pkg);
if (Ver.end() == false)
Pkg = Ver.ParentPkg();