Skip to content
Snippets Groups Projects
Commit 200f723c authored by Sulverus's avatar Sulverus
Browse files

tarantoolctl local dir config fix

test-run udpated
parent 5c0d64fd
No related branches found
No related tags found
No related merge requests found
......@@ -178,10 +178,13 @@ end
local function check_user_level()
-- local dir configuration
local local_dir = '.tarantoolctl'
if fio.stat(local_dir) then
usermode = true
return local_dir
local pwd = os.getenv('PWD')
if pwd ~= nil then
local local_dir = pwd .. '/.tarantoolctl'
if fio.stat(local_dir) then
usermode = true
return local_dir
end
end
-- home dir configuration
......
Subproject commit 271a009b22b290734f75f2d674a9e664224ea95f
Subproject commit 9c05fb7c36dfe11b5dd2f8ab2293d1be521b8ced
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment