diff options
author | Guillem Jover <guillem@debian.org> | 2012-04-23 09:05:33 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-10-06 00:48:13 +0200 |
commit | cece29526d506b89b54cc80a6c400f9f58f36286 (patch) | |
tree | 126de02ec5b4ffa423286c802cc0f897cf7dcd18 /dselect | |
parent | 054129e47776db138d367b16a3f1552426d1051d (diff) | |
download | dpkg-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')
-rw-r--r-- | dselect/method.cc | 2 |
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); |