Permalink
Browse files

Remove tmpfile, don't need to check its existence

  • Loading branch information...
1 parent 8a4d29e commit 3eda19fa1af5ce9dc17c56dcd171e2e3c7507c85 @silasdb committed May 15, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 transform.sh
View
6 transform.sh
@@ -180,10 +180,8 @@ xwd2png ()
# instance), we call this function so removing the temporary file.
trapint ()
{
- if [ -f "${tempfile}" ]; then
- rm -f "${tempfile}"
- exit 130
- fi
+ rm -f "${tempfile}"
+ exit 130
}

0 comments on commit 3eda19f

Please sign in to comment.