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",
|
||||
termType,
|
||||
"USER=root",
|
||||
"ENV=/etc/profile",
|
||||
0
|
||||
};
|
||||
|
||||
|
@ -407,6 +407,7 @@ static pid_t run(char *command, char *terminal, int get_enter)
|
||||
"SHELL=/bin/sh",
|
||||
termType,
|
||||
"USER=root",
|
||||
"ENV=/etc/profile",
|
||||
0
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user