diff options
Diffstat (limited to 'sshpty.c')
-rw-r--r-- | sshpty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -343,7 +343,7 @@ pty_make_controlling_tty(int *ttyfd, const char *ttyname) if (fd < 0) error("open /dev/tty failed - could not set controlling tty: %.100s", strerror(errno)); - else + else close(fd); #endif /* _UNICOS */ } |