From 75295707de9498f07875f9e48d8174c39938c176 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Wed, 15 Aug 2012 13:06:38 -0600 Subject: [PATCH] Disable tty check. --- lib/ReadKeyMini.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ReadKeyMini.pm b/lib/ReadKeyMini.pm index 3bf38bf5..ee915442 100644 --- a/lib/ReadKeyMini.pm +++ b/lib/ReadKeyMini.pm @@ -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: $!"; }