Skip to content
Snippets Groups Projects
Commit 28aa806e authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Merge remote-tracking branch 'origin/tctl-config'

parents 7f047754 0f1a8228
No related branches found
No related tags found
No related merge requests found
......@@ -106,9 +106,13 @@ local fiber = require 'fiber'
ffi.cdef[[ int kill(int pid, int sig); ]]
local config_file = os.getenv('HOME') .. '/.config/tarantool/tarantool'
local config_file
local usermode = true
if os.getenv('HOME') then
config_file = os.getenv('HOME') .. '/.config/tarantool/tarantool'
end
if not fio.stat(config_file) then
usermode = false
local config_list = {
......
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