diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-24 18:45:58 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-24 18:45:58 +0200 |
commit | b33773def83754db54f2aeaf57bf5432b7e449a8 (patch) | |
tree | 1d3252bd40df31b8a6a38deb904e253e5fbcd3b0 /sys/src | |
parent | 55d8082842367540b7c3918253c04f71fc9361bb (diff) |
ip/tinc: run script sub-shell in its own environment
Diffstat (limited to 'sys/src')
-rw-r--r-- | sys/src/cmd/ip/tinc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ip/tinc.c b/sys/src/cmd/ip/tinc.c index 4dacdd31c..5d0122121 100644 --- a/sys/src/cmd/ip/tinc.c +++ b/sys/src/cmd/ip/tinc.c @@ -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: |