From: Michael Vogt Date: Fri, 29 Nov 2013 19:08:56 +0000 (+0100) Subject: reset terminal on error (closes: #730795) X-Git-Tag: 0.9.13.1~2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/804d195655c48a448d576b2b196d18c2c816e824?ds=inline reset terminal on error (closes: #730795) --- 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 Thu, 28 Nov 2013 20:02:39 +0100