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
3d89564
..
a90270f
100644
(file)
--- a/
lib/Object/Remote/Connector/SSH.pm
+++ b/
lib/Object/Remote/Connector/SSH.pm
@@
-11,6
+11,8
@@
around _perl_command => sub {
return 'ssh', $target, $self->$orig($target);
};
+no warnings 'once';
+
push @Object::Remote::Connection::Guess, sub {
for ($_[0]) {
# 0-9 a-z _ - first char, those or . subsequent - hostnamish