init/Shell: init now spawns a login shell which sources /etc/profile
This commit is contained in:
@@ -191,7 +191,7 @@ int main(int argc, char** argv)
|
||||
|
||||
endpwent();
|
||||
|
||||
execl(shell_path, shell_path, nullptr);
|
||||
execl(shell_path, shell_path, "--login", nullptr);
|
||||
perror("execl");
|
||||
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user