1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00

SSH.pm: Print a friendlier message if connecting fails

"got EOF while expecting 8 bytes from remote side" is not very
helpful.
This commit is contained in:
Eelco Dolstra 2014-11-10 16:03:51 +01:00
parent 087581a642
commit d436e44ae3
2 changed files with 12 additions and 4 deletions

View file

@ -57,6 +57,7 @@ sub copyTo {
if ($@) {
chomp $@;
warn "$@; falling back to old closure copying method\n";
$@ = "";
return oldCopyTo(@_);
}