registrar

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 866f6392ebcc9ca53b769e3de8a5eb01def048ba
parent 36e8f2f5ad96f9272590468a06ccc0bbcb2b82fa
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date:   Mon, 11 Sep 2023 11:11:51 -0300

script: Fix wrong variable in rename

Diffstat:
Mregistrar | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/registrar b/registrar @@ -89,7 +89,7 @@ if args.command == "monthly" then when = os.time(), what = "monthly" }) - os.rename(tmpname, os.date("archive/%F-monthly.txt")) + os.rename(fns.tmp, os.date("archive/%F-monthly.txt")) else os.remove(fns.tmp) end