summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-11-29 20:08:56 +0100
committerMichael Vogt <mvo@debian.org>2013-11-29 20:08:56 +0100
commit804d195655c48a448d576b2b196d18c2c816e824 (patch)
tree03ab38150983f51a38577ea2a26e14a3eaeacd08 /apt-pkg
parentb12fe5d5ab480f63e2f656a308242a4529f2908b (diff)
reset terminal on error (closes: #730795)
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/dpkgpm.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 01c6242dc..49396c1c7 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -1530,6 +1530,7 @@ bool pkgDPkgPM::GoNoABIBreak(APT::Progress::PackageManager *progress)
if(stopOnError)
{
CloseLog();
+ StopPtyMagic();
d->progress->Stop();
return false;
}