aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorziggys <ziggys@autistici.org>2018-06-16 16:13:54 -0400
committerziggys <ziggys@autistici.org>2018-06-16 16:13:54 -0400
commitb7a5fdac3aca20c504f394cdc9e21b61412f3bac (patch)
tree4dec9b72878758453b0a93be5234d7b72bc8949b
parent3a9561facaedd66b99b8477290bd1eb82c7db3c8 (diff)
downloaddbdssn-master.tar
dbdssn-master.zip
Clean temporary filesHEADmaster
-rwxr-xr-xdbdssn.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbdssn.sh b/dbdssn.sh
index ab8da81..1395a81 100755
--- a/dbdssn.sh
+++ b/dbdssn.sh
@@ -257,3 +257,7 @@ TTIME="$(( (ETIME-ITIME) ))"
# notify
test ! -z "${NOTIFY}" && notify
+
+# clean and exit
+rm -rf "${TMPDIR}"
+exit 0