mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Remove DEFAULT_STUFF environmental variable from init(1).
This commit is contained in:
parent
7f7fd66039
commit
d2cea190a8
1 changed files with 0 additions and 2 deletions
|
@ -165,14 +165,12 @@ int child()
|
|||
setenv("HOME", home, 1);
|
||||
shell = passwd->pw_shell[0] ? passwd->pw_shell : default_shell;
|
||||
setenv("SHELL", shell, 1);
|
||||
setenv("DEFAULT_STUFF", "NO", 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
setenv("USERNAME", "root", 1);
|
||||
setenv("HOME", home = default_home, 1);
|
||||
setenv("SHELL", shell = default_shell, 1);
|
||||
setenv("DEFAULT_STUFF", "YES", 1);
|
||||
}
|
||||
|
||||
chdir(home);
|
||||
|
|
Loading…
Reference in a new issue