From cece29526d506b89b54cc80a6c400f9f58f36286 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 23 Apr 2012 09:05:33 +0200 Subject: 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(). --- src/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3