merge from the mvo branch
authorMichael Vogt <egon@tas>
Wed, 12 Nov 2008 20:18:34 +0000 (21:18 +0100)
committerMichael Vogt <egon@tas>
Wed, 12 Nov 2008 20:18:34 +0000 (21:18 +0100)
apt-pkg/deb/dpkgpm.cc

index 9ad367e67840b3302d3d8f5ce782f8a0c8f6694f..40aafafa495cccaad2f77822fe50bc2eb387b6c6 100644 (file)
@@ -884,7 +884,7 @@ bool pkgDPkgPM::Go(int OutStatusFd)
            // Restore sig int/quit
            signal(SIGQUIT,old_SIGQUIT);
            signal(SIGINT,old_SIGINT);
            // Restore sig int/quit
            signal(SIGQUIT,old_SIGQUIT);
            signal(SIGINT,old_SIGINT);
-           signal(SIGINT,old_SIGHUP);
+           signal(SIGHUP,old_SIGHUP);
            return _error->Errno("waitpid","Couldn't wait for subprocess");
         }
 
            return _error->Errno("waitpid","Couldn't wait for subprocess");
         }