mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-28 06:40:43 +00:00
Don't pass host's LESSOPEN and frineds to the container
This commit is contained in:
parent
8b2138ff8a
commit
537d50c7be
@ -263,6 +263,11 @@ void setupChild(const char *curPath)
|
||||
char buffer1[4096];
|
||||
char buffer2[4096];
|
||||
|
||||
|
||||
unsetenv("LESSOPEN");
|
||||
unsetenv("LESSCLOSE");
|
||||
unsetenv("LESSECHO");
|
||||
|
||||
setenv("PATH",
|
||||
"/usr/bin:"
|
||||
"/bin:"
|
||||
|
Loading…
Reference in New Issue
Block a user