diff options
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -865,6 +865,9 @@ execsh(void) { char **args; char *envshell = getenv("SHELL"); + if (envshell == NULL) + envshell ="/bin/sh"; + unsetenv("COLUMNS"); unsetenv("LINES"); unsetenv("TERMCAP"); |