summaryrefslogtreecommitdiff
path: root/tests/exec12.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exec12.sub')
-rw-r--r--tests/exec12.sub1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/exec12.sub b/tests/exec12.sub
index 4bd6121b..bc627d2d 100644
--- a/tests/exec12.sub
+++ b/tests/exec12.sub
@@ -1,5 +1,6 @@
: ${TMPDIR:=/var/tmp}
TMPFILE=$TMPDIR/exitcode
+trap 'rm -f $TMPFILE' 0
rm -f $TMPFILE
set -e