Userspace: Set SHELL environment variable in init instead of shell

This commit is contained in:
2024-10-04 17:24:37 +03:00
parent 26d6bf338e
commit ab9a6d583b
2 changed files with 1 additions and 3 deletions

View File

@@ -819,9 +819,6 @@ int main(int argc, char** argv)
return 1;
}
if (argc >= 1)
setenv("SHELL", argv[0], true);
source_shellrc();
new_termios = old_termios;