Merge pull request #1160 from njaard/master
Don't sometimes hang just after launching ssh
This commit is contained in:
+1
-1
@@ -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 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user