Compare commits

...

1 Commits

Author SHA1 Message Date
Marcel Hollerbach 8c41029c5d terminology: change cwd to root so we are not depending on the directory
we are started in
2017-04-03 14:54:47 +02:00
1 changed files with 10 additions and 0 deletions

View File

@ -874,6 +874,16 @@ remote:
if (ipc_instance_add(&inst))
goto end;
}
else
{
if (!cd)
{
char buf[PATH_MAX];
getcwd(buf, sizeof(buf));
cd = strdup(buf);
}
}
if ((!single) && (config->multi_instance))
{
ipc_instance_new_func_set(main_ipc_new);