projects
/
scpubgit/Object-Remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
successfully wrapping sudo
[scpubgit/Object-Remote.git]
/
lib
/
Object
/
Remote
/
Connector
/
SSH.pm
diff --git
a/lib/Object/Remote/Connector/SSH.pm
b/lib/Object/Remote/Connector/SSH.pm
index
0821c96
..
a90270f
100644
(file)
--- a/
lib/Object/Remote/Connector/SSH.pm
+++ b/
lib/Object/Remote/Connector/SSH.pm
@@
-11,10
+11,7
@@
around _perl_command => sub {
return 'ssh', $target, $self->$orig($target);
};
-sub _ssh_object_for {
- my ($self, $on) = @_;
- $self->ssh_masters->{$on} ||= Net::OpenSSH->new($on);
-}
+no warnings 'once';
push @Object::Remote::Connection::Guess, sub {
for ($_[0]) {