parallelise connection setup
[scpubgit/Object-Remote.git] / lib / Object / Remote / Connector / LocalSudo.pm
index 0ff34b3..304b3e9 100644 (file)
@@ -82,7 +82,7 @@ push @Object::Remote::Connection::Guess, sub {
   for ($_[0]) {
     # username followed by @
     if (defined and !ref and /^ ([^\@]*?) \@ $/x) {
-      return __PACKAGE__->new(target_user => $1)->connect;
+      return __PACKAGE__->new(target_user => $1);
     }
   }
   return;