terminology: change cwd to root so we are not depending on the directory

we are started in
devs/bu5hm4n/cwd_fix
Marcel Hollerbach 5 years ago
parent 1fa0fd7148
commit 8c41029c5d
  1. 10
      src/bin/main.c

@ -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);

Loading…
Cancel
Save