summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/build_init.subr2
1 files changed, 2 insertions, 0 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 8049af61..01002eb6 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -60,6 +60,8 @@ build_init() {
trap "rm -f "${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}"; \
ex_rtl_log_msg failexit \"Build aborted.\";" \
HUP INT TERM USR1 USR2;
+ trap "rm -f "${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}";" \
+ EXIT;
};
# vim:filetype=sh