From a8742349250013abae62f0247f47ac8cef38bcce Mon Sep 17 00:00:00 2001 From: Dany LE Date: Tue, 4 Oct 2022 11:54:03 +0200 Subject: [PATCH] Dont set PWD in child process --- os/controllers/SystemController.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/controllers/SystemController.lua b/os/controllers/SystemController.lua index aebd719..ad5fedd 100644 --- a/os/controllers/SystemController.lua +++ b/os/controllers/SystemController.lua @@ -121,7 +121,7 @@ function SystemController:apigateway(...) ulib.setenv("LOGNAME", SESSION.user, 1) if home then ulib.setenv("HOME", home, 1) - ulib.setenv("PWD", home,1) + --ulib.setenv("PWD", home,1) local paths = "" if ulib.exists(home.."/bin") then paths = home.."/bin:"