diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-02-22 22:30:10 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2009-02-22 22:30:10 -0500 |
commit | 0208ed4c79ed9aa1a983d372248f781c27969082 (patch) | |
tree | 247d2753b54289a9b9d8d71f28c4f2c2306a27d1 | |
parent | db6c2f3f0e355f856baa59423fa84e05269b6125 (diff) | |
download | wayland-0208ed4c79ed9aa1a983d372248f781c27969082.tar.gz wayland-0208ed4c79ed9aa1a983d372248f781c27969082.tar.xz wayland-0208ed4c79ed9aa1a983d372248f781c27969082.zip |
Don't close the pty master in forkpty child.
-rw-r--r-- | terminal.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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"); |