summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-04-17 14:44:04 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-06-27 14:52:50 +0300
commit6ff70e3763a32f2b33622d277795c7a8c0aaa91b (patch)
treedee9007e4ce125cceb0fdde8328be922c2f301ec
parent9605ce179269947772668320851377fa3e15ddc6 (diff)
downloadabuild-6ff70e3763a32f2b33622d277795c7a8c0aaa91b.tar.gz
abuild-6ff70e3763a32f2b33622d277795c7a8c0aaa91b.tar.bz2
abuild-6ff70e3763a32f2b33622d277795c7a8c0aaa91b.tar.xz
abuild-6ff70e3763a32f2b33622d277795c7a8c0aaa91b.zip
abuild: disable trap when entering the handler
-rw-r--r--abuild.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 2a264fc..8e3b87c 100644
--- a/abuild.in
+++ b/abuild.in
@@ -96,6 +96,7 @@ cleanup() {
}
die() {
+ trap - EXIT
error "$@"
cleanup $ERROR_CLEANUP
exit 1