Skip to content
Snippets Groups Projects
Commit 944d0053 authored by bigbes's avatar bigbes
Browse files

Update tarantoolctl.in

If `default_cfg` was nil, then system will errored.
parent a1a09661
No related branches found
No related tags found
No related merge requests found
......@@ -259,6 +259,8 @@ local function load_default_file(default_file)
d.sophia_dir = fio.pathjoin(d.sophia_dir, instance_name)
d.logger = fio.pathjoin(d.logger, instance_name .. '.log')
default_cfg = d
if not usermode then
-- change user name only if not running locally
d.username = d.username or "tarantool"
......
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