fix convert find logic

This commit is contained in:
2021-11-20 03:51:39 +08:00
parent eaefe07636
commit 2a5c21d4ed
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ if not magick then
magick = ""
end
local cmd = magick .. " convert -append " .. table.concat(origin, " ") .. " " .. combined
local cmd = magick .. " " .. convert .. " -append " .. table.concat(origin, " ") .. " " .. combined
ngx.log(ngx.INFO, 'CMD -> ', cmd)
local result, _, code = os.execute(cmd)
if result and code == 0 then