Do not write pid and session name in debug buffer on startup

This commit is contained in:
Maxime Coste 2014-10-14 13:42:47 +01:00
parent e362eb4f3b
commit 1128d941ff

View File

@ -334,10 +334,8 @@ int run_server(StringView session, StringView init_command,
register_highlighters(); register_highlighters();
write_debug("*** This is the debug buffer, where debug info will be written ***"); write_debug("*** This is the debug buffer, where debug info will be written ***");
write_debug("pid: " + to_string(getpid()));
Server server(session.empty() ? to_string(getpid()) : String{session}); Server server(session.empty() ? to_string(getpid()) : String{session});
write_debug("session: " + server.session());
if (not ignore_kakrc) try if (not ignore_kakrc) try
{ {