Commit 73b4d7eb authored by unknown's avatar unknown

fix issue with IM that causes commandlines that are executed to be incorrect.


server-tools/instance-manager/instance.cc:
  terminate the new line buffer so our strcat's will work
parent abd77bc5
...@@ -181,6 +181,7 @@ static int start_process(Instance_options *instance_options, ...@@ -181,6 +181,7 @@ static int start_process(Instance_options *instance_options,
if (cmdline == NULL) if (cmdline == NULL)
return 1; return 1;
cmdline[0]= 0;
for (int i= 0; instance_options->argv[i] != 0; i++) for (int i= 0; instance_options->argv[i] != 0; i++)
{ {
strcat(cmdline, "\""); strcat(cmdline, "\"");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment