script: remove unused code

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2012-06-21 12:14:34 +02:00
parent efcf26f44f
commit 46e28f0431
1 changed files with 0 additions and 10 deletions

View File

@ -416,16 +416,6 @@ void
doshell(void) {
char *shname;
#if 0
int t;
t = open(_PATH_DEV_TTY, O_RDWR);
if (t >= 0) {
ioctl(t, TIOCNOTTY, (char *)0);
close(t);
}
#endif
getslave();
close(master);
if (close_stream(fscript) != 0)