summaryrefslogtreecommitdiffstats
path: root/libexec/rshd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rshd')
-rw-r--r--libexec/rshd/rshd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index cdc2ce1..666182b 100644
--- a/libexec/rshd/rshd.c
+++ b/libexec/rshd/rshd.c
@@ -228,14 +228,6 @@ doit(fromp)
(void) signal(SIGINT, SIG_DFL);
(void) signal(SIGQUIT, SIG_DFL);
(void) signal(SIGTERM, SIG_DFL);
-#ifdef DEBUG
- { int t = open(_PATH_TTY, 2);
- if (t >= 0) {
- ioctl(t, TIOCNOTTY, (char *)0);
- (void) close(t);
- }
- }
-#endif
fromp->su_port = ntohs((u_short)fromp->su_port);
if (af != AF_INET
#ifdef INET6
OpenPOWER on IntegriCloud