mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-19 18:08:21 +01:00
Dont set PWD in child process
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
This commit is contained in:
parent
3c8aa63e9a
commit
a874234925
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user