From: Michael Vogt <egon@tas>
Date: Wed, 12 Nov 2008 20:18:34 +0000 (+0100)
Subject: merge from the mvo branch
X-Git-Tag: 0.7.21~56
X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/1a853738a54dbab6e82a23a8cc6c6d6f3aeeae12?hp=--cc

merge from the mvo branch
---

1a853738a54dbab6e82a23a8cc6c6d6f3aeeae12
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 9ad367e67..40aafafa4 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -884,7 +884,7 @@ bool pkgDPkgPM::Go(int OutStatusFd)
 	    // 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");
 	 }