summaryrefslogtreecommitdiff
path: root/cmdline/acqprogress.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:38 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:38 +0000
commit681d76d0248a56e09581f75c128b510d6bbbcfb5 (patch)
treea4698c6b0aae4913ae800aa3367bf7b9c131a572 /cmdline/acqprogress.cc
parentf3bcc38396ab3a7ad5c2e299a5f4e036b2cd06b3 (diff)
Ignored missing release files
Author: jgg Date: 1999-01-31 22:25:34 GMT Ignored missing release files
Diffstat (limited to 'cmdline/acqprogress.cc')
-rw-r--r--cmdline/acqprogress.cc14
1 files changed, 11 insertions, 3 deletions
diff --git a/cmdline/acqprogress.cc b/cmdline/acqprogress.cc
index 99e8fd9c3..7b23f3089 100644
--- a/cmdline/acqprogress.cc
+++ b/cmdline/acqprogress.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acqprogress.cc,v 1.7 1999/01/27 02:48:53 jgg Exp $
+// $Id: acqprogress.cc,v 1.8 1999/01/31 22:25:34 jgg Exp $
/* ######################################################################
Acquire Progress - Command line progress meter
@@ -93,8 +93,16 @@ void AcqTextStatus::Fail(pkgAcquire::ItemDesc &Itm)
if (Quiet <= 0)
cout << '\r' << BlankLine << '\r';
- cout << "Err " << Itm.Description << endl;
- cout << " " << Itm.Owner->ErrorText << endl;
+ if (Itm.Owner->Status == pkgAcquire::Item::StatIdle)
+ {
+ cout << "Ign " << Itm.Description << endl;
+ }
+ else
+ {
+ cout << "Err " << Itm.Description << endl;
+ cout << " " << Itm.Owner->ErrorText << endl;
+ }
+
Update = true;
};
/*}}}*/