Set environment variable to make ash happy. ash is a frequent enough
target....
This commit is contained in:
parent
1b355ebba6
commit
3639c5d950
1
init.c
1
init.c
@ -407,6 +407,7 @@ static pid_t run(char *command, char *terminal, int get_enter)
|
|||||||
"SHELL=/bin/sh",
|
"SHELL=/bin/sh",
|
||||||
termType,
|
termType,
|
||||||
"USER=root",
|
"USER=root",
|
||||||
|
"ENV=/etc/profile",
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -407,6 +407,7 @@ static pid_t run(char *command, char *terminal, int get_enter)
|
|||||||
"SHELL=/bin/sh",
|
"SHELL=/bin/sh",
|
||||||
termType,
|
termType,
|
||||||
"USER=root",
|
"USER=root",
|
||||||
|
"ENV=/etc/profile",
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user