init/Shell: init now spawns a login shell which sources /etc/profile

This commit is contained in:
2026-08-25 03:52:52 +03:00
parent 68c741d54d
commit 631fec7c4d
2 changed files with 39 additions and 1 deletions
+1 -1
View File
@@ -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);