diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-10-07 20:51:07 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-10-07 21:08:37 +0200 |
commit | d6cf2345a35896448e19bfb294ffe66faab00f86 (patch) | |
tree | 631414eab0509ec034e2b497732892ebafda492c /apt-private | |
parent | 4d0818cc39f7c0d44ecdfcdf9701058f81caa492 (diff) |
don't show ErrorText for Ign by default
Some distributions (or repositories) do not have as much
"Ign-discipline" as I would like to, so that could be pretty distracting
for our users if enabled by default. It is handy for testcases though.
Git-Dch: Ignore
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/acqprogress.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-private/acqprogress.cc b/apt-private/acqprogress.cc index aa88d5334..14a53eacb 100644 --- a/apt-private/acqprogress.cc +++ b/apt-private/acqprogress.cc @@ -117,7 +117,8 @@ void AcqTextStatus::Fail(pkgAcquire::ItemDesc &Itm) if (Itm.Owner->Status == pkgAcquire::Item::StatDone) { cout << _("Ign ") << Itm.Description << endl; - if (Itm.Owner->ErrorText.empty() == false) + if (Itm.Owner->ErrorText.empty() == false && + _config->FindB("Acquire::Progress::Ignore::ShowErrorText", false) == true) cout << " " << Itm.Owner->ErrorText << endl; } else |