summaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script.c b/src/script.c
index c4b11df2d..f678b70d6 100644
--- a/src/script.c
+++ b/src/script.c
@@ -183,9 +183,9 @@ maintscript_exec(struct pkginfo *pkg, struct pkgbin *pkgbin,
command_exec(cmd);
}
- subproc_signals_ignore(cmd->name); /* This does a push_cleanup(). */
+ subproc_signals_ignore(cmd->name);
rc = subproc_reap(pid, cmd->name, warn);
- pop_cleanup(ehflag_normaltidy);
+ subproc_signals_restore();
pop_cleanup(ehflag_normaltidy);