summaryrefslogtreecommitdiff
path: root/apt-private/acqprogress.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-08 08:05:18 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-08 08:05:18 +0200
commit676700504710013d6737f79bf6ad12003d55c30d (patch)
tree4b5713e0c880750b35ee7f5ba9285917361e4926 /apt-private/acqprogress.cc
parentee27950632c149bb14c9c490e92147579ba4fc2a (diff)
parentf9a3c4bde867e70e8c89b6ed5924ab9fab517096 (diff)
Merge remote-tracking branch 'donkult/feature/acq-trans' into feature/expected-size
Diffstat (limited to 'apt-private/acqprogress.cc')
-rw-r--r--apt-private/acqprogress.cc3
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