mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
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