diff --git a/shellinabox/launcher.c b/shellinabox/launcher.c index ca38d09..d393276 100644 --- a/shellinabox/launcher.c +++ b/shellinabox/launcher.c @@ -987,6 +987,7 @@ static void launcherDaemon(int fd) { if (NOINTR(sendmsg(fd, &msg, 0)) != sizeof(pid)) { break; } + NOINTR(close(pty)); } } deleteHashMap(childProcesses);