summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-04-22 15:10:19 +0200
committerMichael Vogt <mvo@debian.org>2014-04-22 15:10:19 +0200
commita3f63bc4acdc8d3914af34698c823c3b873a9beb (patch)
tree2bcbbd28d4283b26968d7d117b4d5d0324898c47 /apt-private
parente7bd4a8a34532afa382a995b9fbaa9333f42e86d (diff)
apt-private/acqprogress.cc: fix output when ctrl-c is hit during apt update (LP: #1310548, closes: #744297)
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/acqprogress.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/acqprogress.cc b/apt-private/acqprogress.cc
index fe7a45e12..0f5b53e50 100644
--- a/apt-private/acqprogress.cc
+++ b/apt-private/acqprogress.cc
@@ -267,7 +267,7 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner)
else
cout << '\r' << BlankLine << '\r' << Buffer << flush;
if (_config->FindB("Apt::Color", false) == true)
- cout << _config->Find("APT::Color::Neutral");
+ cout << _config->Find("APT::Color::Neutral") << flush;
memset(BlankLine,' ',strlen(Buffer));
BlankLine[strlen(Buffer)] = 0;