Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1
Conflicts: src/logger.c src/net_setup.c
This commit is contained in:
commit
1d9dacb1f2
4 changed files with 151 additions and 76 deletions
|
|
@ -389,6 +389,12 @@ int main(int argc, char **argv) {
|
|||
|
||||
g_argv = argv;
|
||||
|
||||
if(getenv("LISTEN_PID") && atoi(getenv("LISTEN_PID")) == getpid())
|
||||
do_detach = false;
|
||||
#ifdef HAVE_UNSETENV
|
||||
unsetenv("LISTEN_PID");
|
||||
#endif
|
||||
|
||||
init_configuration(&config_tree);
|
||||
|
||||
/* Slllluuuuuuurrrrp! */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue