Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-14 06:13:09 +00:00

zapret-lib: fix error message

This commit is contained in:
bol-van
2026-01-06 16:41:35 +03:00
parent 05647e84ef
commit 823f4a6fb6

View File

@@ -1430,7 +1430,7 @@ end
function is_gzip_file(filename)
local f, err = io.open(filename, "r")
if not f then
error("gunzip_file: "..err)
error("is_gzip_file: "..err)
end
local hdr = f:read(2)
f:close()