Revert "Do not close stdin on ssh session."

This reverts commit 45c521d632.
This commit is contained in:
John Hood
2016-11-11 23:31:11 -05:00
parent 52d10cf211
commit 04b03b41f6
+1 -1
View File
@@ -333,7 +333,7 @@ die "$0: fork: $!\n" unless ( defined $pid );
if ( $pid == 0 ) { # child if ( $pid == 0 ) { # child
open(STDERR, ">&STDOUT") or die; open(STDERR, ">&STDOUT") or die;
my @sshopts = (); my @sshopts = ( '-n' );
if ($ssh_pty) { if ($ssh_pty) {
push @sshopts, '-tt'; push @sshopts, '-tt';
} }