script: remove unused code
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
efcf26f44f
commit
46e28f0431
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue