mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
fix(kernel): add TZ environment variable to init process
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
7f3b2b4dbb
commit
0958cdf7f8
@ -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] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user