ip/tinc: run script sub-shell in its own environment
This commit is contained in:
parent
55d8082842
commit
b33773def8
1 changed files with 1 additions and 1 deletions
|
@ -1689,7 +1689,7 @@ main(int argc, char *argv[])
|
|||
|
||||
if(pipe(pfd) < 0)
|
||||
sysfatal("can't create pipe: %r");
|
||||
switch(rfork(RFPROC|RFFDG|RFREND|RFNOTEG)){
|
||||
switch(rfork(RFPROC|RFFDG|RFREND|RFNOTEG|RFENVG)){
|
||||
case -1:
|
||||
sysfatal("can't fork: %r");
|
||||
case 0:
|
||||
|
|
Loading…
Reference in a new issue