]> git.saurik.com Git - apt.git/commitdiff
Ignore pipe failured for package list sub process. Clos...
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:59:03 +0000 (16:59 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:59:03 +0000 (16:59 +0000)
Author: jgg
Date: 2002-04-02 06:42:39 GMT
Ignore pipe failured for package list sub process. Closes: #89830

apt-pkg/deb/dpkgpm.cc

index 6cc19fd8455dea111d5aac28b43a9089fe7ea919..c3f255401ffd24157d31b42ee589648f84a5ab60 100644 (file)
@@ -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)