--- check_ssl_cert.orig 2009-04-09 15:32:18.000000000 +0200 +++ check_ssl_cert 2009-04-09 15:32:21.000000000 +0200 @@ -214,4 +214,7 @@ # If we get this far, assume all is well. :) echo "SSL CERT OK - X.509 certificate for $CN from $CA valid until $DATE" +## Cleanup the temporary files +rm -rf $CERT $ERROR &>/dev/null + exit 0