From: plugd Date: Wed, 21 Aug 2024 21:10:40 +0000 (+0200) Subject: Remove md5 files after use. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=0ee60ea334043eab620f153a090186f235b4fc76;p=qwikboard.git Remove md5 files after use. --- diff --git a/qwikboard b/qwikboard index b297b64..59563f5 100755 --- a/qwikboard +++ b/qwikboard @@ -124,6 +124,7 @@ function fs.getmd5(filename) local md5fh = assert(io.open(md5_file_name), "r") local md5f_str = md5fh:read("*all") md5fh:close() + fs.rmfile(md5_file_name) return string.match(md5f_str, "^(%w+)%s") end @@ -275,7 +276,7 @@ function qwk.write_message (target_dir, first_unseen_msgs) if first_unseen_msgs[cnum] and msg.number