summaryrefslogtreecommitdiff
path: root/initd/main.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-07 00:28:16 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-07 01:33:58 +0200
commit43274e3910d2a910262d1192e663db1d983f8e54 (patch)
tree0220d1e413d2deb368f4e70e94720b2bfada25f9 /initd/main.c
parentffb655126a7588ab9e1f56579ea2223f6f04c2ee (diff)
Remove setup_tty function
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'initd/main.c')
-rw-r--r--initd/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/initd/main.c b/initd/main.c
index 49bbee7..2be2045 100644
--- a/initd/main.c
+++ b/initd/main.c
@@ -225,9 +225,6 @@ int main(void)
return EXIT_FAILURE;
}
- if (setup_tty())
- return EXIT_FAILURE;
-
memset(pfd, 0, sizeof(pfd));
pfd[0].fd = sfd;
pfd[0].events = POLLIN;