diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-08-03 15:01:18 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-08-03 15:01:18 +0200 |
commit | b3aac1bb35d4f8e11ffc45462f450632de9a571f (patch) | |
tree | 3ac05a08fe61f413fae9b1354feed78bc7bdac10 /apt-pkg/deb | |
parent | f060e833f53ba3ed0024f8a2bebfc78e8aa552f2 (diff) |
* debian/changelog: updated credits
* apt-pkg/deb/dpkgpm.cc: merged from dpkg-log branch
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index befd9124c..08c95b7a4 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -846,12 +846,14 @@ bool pkgDPkgPM::Go(int OutStatusFd) if(stopOnError) { - fclose(term_out); + if(term_out) + fclose(term_out); return false; } } } - fclose(term_out); + if(term_out) + fclose(term_out); if (RunScripts("DPkg::Post-Invoke") == false) return false; |