summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--terminal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 462141e..71c8803 100644
--- a/terminal.c
+++ b/terminal.c
@@ -506,7 +506,6 @@ terminal_run(struct terminal *terminal, const char *path)
pid = forkpty(&master, NULL, NULL, NULL);
if (pid == 0) {
- close(master);
setenv("TERM", "vt100", 1);
if (execl(path, path, NULL)) {
printf("exec failed: %m\n");