terminology: change cwd to root so we are not depending on the directory
we are started in
This commit is contained in:
parent
1fa0fd7148
commit
8c41029c5d
|
@ -874,6 +874,16 @@ remote:
|
||||||
if (ipc_instance_add(&inst))
|
if (ipc_instance_add(&inst))
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!cd)
|
||||||
|
{
|
||||||
|
char buf[PATH_MAX];
|
||||||
|
getcwd(buf, sizeof(buf));
|
||||||
|
|
||||||
|
cd = strdup(buf);
|
||||||
|
}
|
||||||
|
}
|
||||||
if ((!single) && (config->multi_instance))
|
if ((!single) && (config->multi_instance))
|
||||||
{
|
{
|
||||||
ipc_instance_new_func_set(main_ipc_new);
|
ipc_instance_new_func_set(main_ipc_new);
|
||||||
|
|
Loading…
Reference in New Issue