summaryrefslogtreecommitdiff
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
parentb12fe5d5ab480f63e2f656a308242a4529f2908b (diff)
reset terminal on error (closes: #730795)
-rw-r--r--apt-pkg/deb/dpkgpm.cc1
-rw-r--r--debian/changelog1
2 files changed, 2 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;
}
diff --git a/debian/changelog b/debian/changelog
index 505a690f6..5522f4c4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ apt (0.9.13.1) UNRELEASED; urgency=low
* merge mvo/feature/short-list
* merge mvo/feature/edit-sources
* fix segfault in pkgDepCache::SetCandidateRelease() (closes: #709560)
+ * reset terminal on error (closes: #730795)
-- Michael Vogt <mvo@debian.org> Thu, 28 Nov 2013 20:02:39 +0100