summaryrefslogtreecommitdiff
path: root/Master/bin/hppa-hpux
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/hppa-hpux')
-rwxr-xr-xMaster/bin/hppa-hpux/fmtutil1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/bin/hppa-hpux/fmtutil b/Master/bin/hppa-hpux/fmtutil
index ae04f067201..47d3af7247a 100755
--- a/Master/bin/hppa-hpux/fmtutil
+++ b/Master/bin/hppa-hpux/fmtutil
@@ -96,6 +96,7 @@ export PATH
cleanup()
{
rc=$1
+ # for debugging, exit $rc here so $tmpdir with its logs sticks around.
$needsCleanup && test -n "$tmpdir" && test -d "$tmpdir" \
&& { cd / && rm -rf "$tmpdir"; }
(exit $rc); exit $rc