Revert "Do not close stdin on ssh session."
This reverts commit 45c521d632.
This commit is contained in:
+1
-1
@@ -333,7 +333,7 @@ die "$0: fork: $!\n" unless ( defined $pid );
|
||||
if ( $pid == 0 ) { # child
|
||||
open(STDERR, ">&STDOUT") or die;
|
||||
|
||||
my @sshopts = ();
|
||||
my @sshopts = ( '-n' );
|
||||
if ($ssh_pty) {
|
||||
push @sshopts, '-tt';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user