fatnode over ssh works
[scpubgit/Object-Remote.git] / lib / Object / Remote / Connector / STDIO.pm
index 49cb0f9..adca748 100644 (file)
@@ -15,7 +15,7 @@ sub connect {
   open STDIN, '<', File::Spec->devnull or die "Re-opening stdin: $!";
   close STDOUT or die "Closing stdout: $!";
   open STDOUT, '>', File::Spec->devnull or die "Re-opening stdout: $!";
-  Object::Remote::Connection->new(
+  return Object::Remote::Connection->new(
     send_to_fh => $stdout,
     receive_from_fh => $stdin
   );