This commit is contained in:
skywind3000
2019-02-19 11:24:46 +08:00
parent 4e7ecde314
commit 761b3ebf31
+1 -2
View File
@@ -447,8 +447,7 @@ function os.path.exists(name)
if not ok then
if code == 13 then
return true
end
if code == 30 then
elseif code == 30 then
local f = io.open(name,"r")
if f ~= nil then
io.close(f)