close file handles when we're done reading them

This commit is contained in:
Izaya 2023-11-13 22:12:18 +10:00
parent efd83d6b8e
commit 776e19df41
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ elseif opts.c then
break
end
end
inputf:close()
vp(c)
else
vp("failed to open.")