Update init envp

This commit is contained in:
Alex 2023-04-21 18:35:58 +03:00
parent d76585cce3
commit 1eb41e4977
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -145,15 +145,11 @@ void TaskMgr()
Execute::SpawnData SpawnInit() Execute::SpawnData SpawnInit()
{ {
const char *envp[9] = { const char *envp[5] = {
"PATH=/system:/system/bin", "PATH=/system:/system/bin",
"TERM=tty", "TERM=tty",
"HOME=/", "HOME=/",
"USER=root", "USER=root",
"SHELL=/system/sh",
"PWD=/",
"LANG=en_US.UTF-8",
"TZ=UTC",
nullptr}; nullptr};
const char *argv[4] = { const char *argv[4] = {