summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemons/getty.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/daemons/getty.c b/daemons/getty.c
index d6706450..02ebacff 100644
--- a/daemons/getty.c
+++ b/daemons/getty.c
@@ -95,9 +95,6 @@ main (int argc, char **argv)
}
while (tty == -1);
- if (ioctl (tty, TIOCSCTTY) < 0)
- syslog (LOG_ERR, "cannot set controlling terminal to %s: %m", ttyname);
-
print_banner (tty, ttyname);
login_tty (tty);