Browse Source

Well, I was confused. Damn state exams. Instead of discussing this shit I

should really learn opthalmology instead. :O
master
Christoph Lohmann 12 years ago
parent
commit
2e38ab7afd
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      st.c

+ 1
- 4
st.c View File

@ -865,9 +865,6 @@ execsh(void) {
char **args;
char *envshell = getenv("SHELL");
if (envshell == NULL)
envshell ="/bin/sh";
unsetenv("COLUMNS");
unsetenv("LINES");
unsetenv("TERMCAP");
@ -881,7 +878,7 @@ execsh(void) {
DEFAULT(envshell, SHELL);
putenv("TERM="TNAME);
args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL};
args = opt_cmd ? opt_cmd : (char *[]){envshell, "-i", NULL};
execvp(args[0], args);
exit(EXIT_FAILURE);
}


Loading…
Cancel
Save