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@ubuntu.com>2014-04-23 11:55:01 +0200
commited6936fd2f0ff14a49799e9639f0732152ff981e (patch)
tree2382fddcf16fccbf0f40bc9a66882b04e4dd87cd /apt-private
parent47e7e76b03f3afb43109a6f75897acea735df612 (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;