Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csbase-dev
sgarest-daemon
Commits
d7b65fa4
Commit
d7b65fa4
authored
Mar 26, 2020
by
Carlos Juliano Viana
Browse files
Adicionando trecho para criar o diretório da sanboxdir.
[SOMA-3993] [SOMA-2554]
parent
a7d00790
Changes
1
Hide whitespace changes
Inline
Side-by-side
sga/application.lua
View file @
d7b65fa4
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment