fixed tty_init to be skipped if --noninteractive was given on the command line

This commit is contained in:
diman 2008-02-03 21:39:23 +00:00
parent cf4c7081e8
commit c22505bf5a

View file

@ -207,6 +207,9 @@ void tty_init()
{
struct termios ti;
if(o.noninteractive)
return;
if (tty_fd)
return;