Fix check for LOCALSTATEDIR accessibility for the CLI.
The CLI does not need write access to the directory where the PID file is stored, it just needs to be able to read the PID file.
This commit is contained in:
parent
3ccdf50beb
commit
7f96ef081d
5 changed files with 25 additions and 10 deletions
|
|
@ -551,7 +551,7 @@ make_names:
|
|||
confbase = NULL;
|
||||
}
|
||||
|
||||
make_names();
|
||||
make_names(false);
|
||||
|
||||
free(tinc_conf);
|
||||
free(hosts_dir);
|
||||
|
|
@ -756,7 +756,7 @@ ask_netname:
|
|||
}
|
||||
|
||||
netname = line;
|
||||
make_names();
|
||||
make_names(false);
|
||||
}
|
||||
|
||||
fprintf(stderr, "Configuration stored in: %s\n", confbase);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue