X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FRole%2FConnector.pm;h=16f0d5236eb0643c855931130cb4342d3ee82865;hp=0669a9d7ba0c5dcf86f2b27116a8dd0cd4f2c1c7;hb=8ba4f2e3adb9a1fda64b463b34a4306c9034359a;hpb=676438a11cbf6bd49102369824c9d87f70964fd3 diff --git a/lib/Object/Remote/Role/Connector.pm b/lib/Object/Remote/Role/Connector.pm index 0669a9d..16f0d52 100644 --- a/lib/Object/Remote/Role/Connector.pm +++ b/lib/Object/Remote/Role/Connector.pm @@ -9,10 +9,6 @@ sub connect { my $self = shift; my %args; @args{qw(send_to_fh receive_from_fh child_pid)} = $self->_open2_for(@_); - my $line = readline($args{receive_from_fh}); - unless ($line eq "Shere\n") { - die "New remote container did not send Shere - got ${line}"; - } return use_module('Object::Remote::Connection')->new(\%args); }