function die() {
trap "" term
trap "" kill
if [ ${2} -eq 0 ]; then
scan >/dev/null
if [ ${count} -gt 0 ]; then
echo "NOTICE: ${count} update file(s) still present."
fi
echo "Exiting: ${1}"
rm -rf ${TMP}
exit ${2}