diff --git a/ccpt b/ccpt index 6ac0145..4456f28 100644 --- a/ccpt +++ b/ccpt @@ -26,7 +26,7 @@ removed = 0 function file_exists(filepath) local f=io.open(filepath,"r") if f~=nil then - io.close(f) + f.close() return true else return false