diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -709,7 +709,7 @@ execsh(void) { | |||
| 709 | char **args; | 709 | char **args; |
| 710 | char *envshell = getenv("SHELL"); | 710 | char *envshell = getenv("SHELL"); |
| 711 | 711 | ||
| 712 | DEFAULT(envshell, "sh"); | 712 | DEFAULT(envshell, SHELL); |
| 713 | putenv("TERM="TNAME); | 713 | putenv("TERM="TNAME); |
| 714 | args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL}; | 714 | args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL}; |
| 715 | execvp(args[0], args); | 715 | execvp(args[0], args); |
