diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:59:03 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:59:03 +0000 |
commit | c0c0b100a9e276a86e1e0943e64aa7e29e67d72c (patch) | |
tree | cebadb343da7118036a4ecee4d9caa8d32101f95 | |
parent | 1006601e63c83586ae7786b648cfeb3c8feb72c2 (diff) |
Ignore pipe failured for package list sub process. Clos...
Author: jgg
Date: 2002-04-02 06:42:39 GMT
Ignore pipe failured for package list sub process. Closes: #89830
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 6cc19fd84..c3f255401 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -1,5 +1,6 @@ +// -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: dpkgpm.cc,v 1.23 2001/05/27 04:42:19 jgg Exp $ +// $Id: dpkgpm.cc,v 1.24 2002/04/02 06:42:39 jgg Exp $ /* ###################################################################### DPKG Package Manager - Provide an interface to dpkg @@ -314,12 +315,6 @@ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf) Die = !SendV2Pkgs(F); fclose(F); - if (Die == true) - { - kill(Process,SIGINT); - ExecWait(Process,Opts->Value.c_str(),true); - return _error->Error("Failure running script %s",Opts->Value.c_str()); - } // Clean up the sub process if (ExecWait(Process,Opts->Value.c_str()) == false) |