aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-03-29 11:04:17 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-03-29 11:04:17 +0000
commitaf1ea508c632aa246130fdee9524c05850980747 (patch)
treee6af02f1ed5afca408bf32a392ef54b501689d01
parent7294aa6146ceb9dd2ebff8b496e351a81a0c8c8c (diff)
downloadfetchmail-af1ea508c632aa246130fdee9524c05850980747.tar.gz
fetchmail-af1ea508c632aa246130fdee9524c05850980747.tar.bz2
fetchmail-af1ea508c632aa246130fdee9524c05850980747.zip
Remove temporary t.rc.* file even if fetchmail crashes.
svn path=/branches/BRANCH_6-3/; revision=4754
-rwxr-xr-xt.smoke2
1 files changed, 1 insertions, 1 deletions
diff --git a/t.smoke b/t.smoke
index f7924a3c..c0ed8a66 100755
--- a/t.smoke
+++ b/t.smoke
@@ -4,8 +4,8 @@
# configuration and dump it in human-readable and machine-readable form.
set -e
+trap 'rm -f t.rc.$$' 0
cp "${srcdir}/t.rc" t.rc.$$
chmod 0400 t.rc.$$
./fetchmail -V -f t.rc.$$ >/dev/null
./fetchmail --configdump -f t.rc.$$ >/dev/null
-rm -f t.rc.$$