Блядь, ну вечно надо допиливать

This commit is contained in:
IgorTimofeev 2021-04-17 18:08:38 +03:00 committed by GitHub
parent 9425e82073
commit aa8ccf234a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,13 @@ while true do
end end
handle.close() handle.close()
local success,reason=xpcall(load(data),debug.traceback)
if not success then local result, reason = load(data, "=installer")
error(reason) if result then
result, reason = xpcall(result, debug.traceback)
if not result then
error(reason)
end
else
error(reason)
end end