aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules4
1 files changed, 4 insertions, 0 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index cfa860c..763c308 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -435,18 +435,22 @@ function create_basetgz() {
# all trap hooks that should lead to 'exit'; and error exit.
function cleanbuildplace_trap () {
cleanbuildplace
+ trap - exit sighup
exit 1
}
function saveaptcache_umountproc_cleanbuildplace_trap () {
saveaptcache_umountproc_cleanbuildplace
+ trap - exit sighup
exit 1
}
function umountproc_cleanbuildplace_trap () {
umountproc_cleanbuildplace
+ trap - exit sighup
exit 1
}
function umountproc_trap () {
umountproc
+ trap - exit sighup
exit 1
}