diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.c,v 1.323 2020/07/05 23:59:45 djm Exp $ */ | 1 | /* $OpenBSD: session.c,v 1.324 2020/07/07 02:47:21 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -644,7 +644,7 @@ do_exec_pty(struct ssh *ssh, Session *s, const char *command) | |||
644 | 644 | ||
645 | s->pid = pid; | 645 | s->pid = pid; |
646 | 646 | ||
647 | /* Parent. Close the child side of the pseudo tty. */ | 647 | /* Parent. Close the slave side of the pseudo tty. */ |
648 | close(ttyfd); | 648 | close(ttyfd); |
649 | 649 | ||
650 | /* Enter interactive session. */ | 650 | /* Enter interactive session. */ |