fix(kernel): add TZ environment variable to init process

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-02-24 02:08:42 +02:00
parent 7f3b2b4dbb
commit 0958cdf7f8
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -33,11 +33,12 @@
int SpawnInit() int SpawnInit()
{ {
const char *envp[5] = { const char *envp[6] = {
"PATH=/bin:/usr/bin", "PATH=/bin:/usr/bin",
"TERM=tty", "TERM=tty",
"HOME=/root", "HOME=/root",
"USER=root", "USER=root",
"TZ=UTC",
nullptr}; nullptr};
const char *argv[4] = { const char *argv[4] = {