Don't pass host's LESSOPEN and frineds to the container

This commit is contained in:
Sergey Bugaev 2017-01-17 19:50:53 +03:00
parent 8b2138ff8a
commit 537d50c7be

View File

@ -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:"