successfully wrapping sudo
[scpubgit/Object-Remote.git] / lib / Object / Remote / Connector / SSH.pm
index 3d89564..a90270f 100644 (file)
@@ -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