From 0ee60ea334043eab620f153a090186f235b4fc76 Mon Sep 17 00:00:00 2001 From: plugd Date: Wed, 21 Aug 2024 23:10:40 +0200 Subject: [PATCH] Remove md5 files after use. --- qwikboard | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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