summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-12-04 16:23:25 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-12-04 16:23:25 +0100
commit141b0fee2bba42c9fff4f4c41786145a51b8c95a (patch)
tree3ea4f15d25bc2d9cb3d350907034880be59ac163
parentb8fb5c1d91df09057b3c2e6e04cbc86c1053b312 (diff)
downloadmidipix_build-141b0fee2bba42c9fff4f4c41786145a51b8c95a.tar.bz2
midipix_build-141b0fee2bba42c9fff4f4c41786145a51b8c95a.tar.xz
subr.ex/ex_init.subr:ex_init_prereqs(): trap full list of signals.
-rw-r--r--subr.ex/ex_init.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr.ex/ex_init.subr b/subr.ex/ex_init.subr
index 12141469..a3fa5c72 100644
--- a/subr.ex/ex_init.subr
+++ b/subr.ex/ex_init.subr
@@ -403,7 +403,7 @@ ex_init_prereqs() {
elif ! awk -V 2>/dev/null | grep -q "^GNU Awk "; then
_eip_rc=1;
rtl_setrstatus "${_eip_rstatus}" 'awk(1) in \$PATH must be GNU Awk.';
- elif ! (FNAME="$(mktemp)" && { trap "rm -f \"\${FNAME}\"" EXIT; \
+ elif ! (FNAME="$(mktemp)" && { trap "rm -f \"\${FNAME}\"" EXIT HUP INT TERM USR1 USR2; \
sed -i'' -e '' "${FNAME}" >/dev/null 2>&1; });
then
_eip_rc=1;