aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index baea2bc..741e680 100644
--- a/st.c
+++ b/st.c
@@ -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);