summaryrefslogtreecommitdiff
path: root/dselect/method.cc
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-04-23 09:05:33 +0200
committerGuillem Jover <guillem@debian.org>2014-10-06 00:48:13 +0200
commitcece29526d506b89b54cc80a6c400f9f58f36286 (patch)
tree126de02ec5b4ffa423286c802cc0f897cf7dcd18 /dselect/method.cc
parent054129e47776db138d367b16a3f1552426d1051d (diff)
downloaddpkg-cece29526d506b89b54cc80a6c400f9f58f36286.tar.gz
libdpkg: Add new alias subproc_signals_restore() for pop_cleanup()
This hides the fact that to restore the signals we are doing a pop_cleanup().
Diffstat (limited to 'dselect/method.cc')
-rw-r--r--dselect/method.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dselect/method.cc b/dselect/method.cc
index c291c206c..8da2e82dc 100644
--- a/dselect/method.cc
+++ b/dselect/method.cc
@@ -152,7 +152,7 @@ falliblesubprocess(struct command *cmd)
i = subproc_reap(pid, cmd->name, PROCWARN);
- pop_cleanup(ehflag_normaltidy);
+ subproc_signals_restore();
if (i == 0) {
sleep(1);