zapret-lib: fix error message

This commit is contained in:
bol-van
2026-01-06 16:41:35 +03:00
parent 05647e84ef
commit 823f4a6fb6
+1 -1
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()