Skip to content
Snippets Groups Projects
Commit 6465a3c5 authored by Yuriy Vostrikov's avatar Yuriy Vostrikov
Browse files

[core] Fix borken proctitle.

parent 78dfa456
No related merge requests found
...@@ -136,7 +136,7 @@ reload_cfg(struct tbuf *out) ...@@ -136,7 +136,7 @@ reload_cfg(struct tbuf *out)
destroy_tarantool_cfg(&new_cfg1); destroy_tarantool_cfg(&new_cfg1);
destroy_tarantool_cfg(&new_cfg2); destroy_tarantool_cfg(&new_cfg2);
out_warning(0, "tCould not accept read only '%s' option", diff); out_warning(0, "Could not accept read only '%s' option", diff);
return -1; return -1;
} }
...@@ -323,6 +323,7 @@ main(int argc, char **argv) ...@@ -323,6 +323,7 @@ main(int argc, char **argv)
#ifdef RESOLVE_SYMBOLS #ifdef RESOLVE_SYMBOLS
load_symbols(argv[0]); load_symbols(argv[0]);
#endif #endif
argv = init_set_proc_title(argc, argv);
const void *opt_def = const void *opt_def =
gopt_start(gopt_option('g', GOPT_ARG, gopt_shorts(0), gopt_start(gopt_option('g', GOPT_ARG, gopt_shorts(0),
...@@ -493,8 +494,6 @@ main(int argc, char **argv) ...@@ -493,8 +494,6 @@ main(int argc, char **argv)
atexit(remove_pid); atexit(remove_pid);
} }
argv = init_set_proc_title(argc, argv);
say_logger_init(cfg.logger_nonblock); say_logger_init(cfg.logger_nonblock);
booting = false; booting = false;
......
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