Commit d7b65fa4 authored by Carlos Juliano Viana's avatar Carlos Juliano Viana
Browse files

Adicionando trecho para criar o diretório da sanboxdir.

[SOMA-3993]
[SOMA-2554]
parent a7d00790
......@@ -67,6 +67,14 @@ function application.new(config)
end
end
local ok, err = lfs.mkdir(config.sandbox_root_dir)
if not ok then
local attr = lfs.attributes(config.sandbox_root_dir)
if not (attr and attr.mode == "directory") then
return nil, "Failed creating sandbox root dir "..config.sandbox_root_dir
end
end
local client_object = client.new(config, make_logger("sga.client"))
local pok, driver_module = pcall(require, config.driver)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment