From 0dba37d86e908caff2da2b7eb8cf65a4dca8922b Mon Sep 17 00:00:00 2001 From: Dany LE Date: Tue, 4 Oct 2022 12:00:10 +0200 Subject: [PATCH] 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 ad5fedd..aebd719 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:"