mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 19:13:56 +08:00
💋 Sync 2026-10-07 13:35:16
This commit is contained in:
1 parent
8d499d46b7
commit
5478ca91f2
11 files changed
+40
-73
No files matched your search
@@ -111,7 +111,7 @@ local function curl(url, file)
|
||||
if file then
|
||||
args[#args + 1] = "-o " .. file
|
||||
end
|
||||
local return_code, result = api.curl_auto(url, nil, args)
|
||||
local return_code, result = api.curl_logic(url, nil, args)
|
||||
if result and result ~= "" then
|
||||
local body, code = result:match("^(.-)%s*([0-9]+)$")
|
||||
if code then
|
||||
|
||||
Reference in new issue
Block a user