Do not close stdin on ssh session.

This helps with #819.
This commit is contained in:
John Hood
2016-11-04 23:54:02 -04:00
parent 444eae1fc4
commit 45c521d632
+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 = ( '-n' ); my @sshopts = ();
if ($ssh_pty) { if ($ssh_pty) {
push @sshopts, '-tt'; push @sshopts, '-tt';
} }