If there is really someone without SHELL set, help him/her.

Christoph Lohmann 14 years ago
parent 5967a7c0db
commit fa952e1901

@ -865,6 +865,9 @@ execsh(void) {
char **args;
char *envshell = getenv("SHELL");
if (envshell == NULL)
envshell ="/bin/sh";
unsetenv("COLUMNS");
unsetenv("LINES");
unsetenv("TERMCAP");

Loading…
Cancel
Save