Merge pull request #1160 from njaard/master

Don't sometimes hang just after launching ssh
This commit is contained in:
Andrew Chin
2021-11-04 12:46:10 -04:00
committed by GitHub
+1 -1
View File
@@ -439,8 +439,8 @@ if ( $pid == 0 ) { # child
print "$_\n"; print "$_\n";
} }
} }
waitpid $pid, 0;
close $pipe; close $pipe;
waitpid $pid, 0;
if ( not defined $ip ) { if ( not defined $ip ) {
if ( defined $sship ) { if ( defined $sship ) {