summaryrefslogtreecommitdiff
path: root/cmdline/acqprogress.cc
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2009-03-26 23:52:26 +0000
committerColin Watson <cjwatson@canonical.com>2009-03-26 23:52:26 +0000
commit6b802e56f55a43e9967cd8d41148646fd95ea8e3 (patch)
treed8ff4f127e43bb81b00264cd8ad7a5985308c7fd /cmdline/acqprogress.cc
parent1e2acb1a23c8f3c3a78e36462bc469e6d9a039a7 (diff)
* cmdline/acqprogress.cc:
- Call pkgAcquireStatus::Pulse even if quiet, so that we still get dlstatus messages on the status-fd (LP: #290234).
Diffstat (limited to 'cmdline/acqprogress.cc')
-rw-r--r--cmdline/acqprogress.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/acqprogress.cc b/cmdline/acqprogress.cc
index a5fee1db5..b3ded4142 100644
--- a/cmdline/acqprogress.cc
+++ b/cmdline/acqprogress.cc
@@ -145,11 +145,11 @@ void AcqTextStatus::Stop()
bandwidth and ETA indicator. */
bool AcqTextStatus::Pulse(pkgAcquire *Owner)
{
+ pkgAcquireStatus::Pulse(Owner);
+
if (Quiet > 0)
return true;
- pkgAcquireStatus::Pulse(Owner);
-
enum {Long = 0,Medium,Short} Mode = Long;
char Buffer[sizeof(BlankLine)];