Disable tty check.

This commit is contained in:
Daniel Nichter
2012-08-15 13:06:38 -06:00
parent 3bb0694d1d
commit 75295707de

View File

@@ -108,7 +108,7 @@ use Data::Dumper;
$term->setcc( VTIME, 0 );
$term->setattr( $fd_stdin, TCSANOW );
unless ( $PerconaTest::DONT_RESTORE_STDIN ) {
if ( -t STDIN ) { warn "STD is tty\n"; }
# if ( -t STDIN ) { warn "STD is tty\n"; }
fcntl(STDIN, F_SETFL, int($flags))
or warn "can't fcntl F_SETFL: $!";
}