projects
/
scpubgit/Object-Remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
implement optional watchdog for remote connections
[scpubgit/Object-Remote.git]
/
lib
/
Object
/
Remote
/
Connector
/
LocalSudo.pm
diff --git
a/lib/Object/Remote/Connector/LocalSudo.pm
b/lib/Object/Remote/Connector/LocalSudo.pm
index
f6b16ee
..
044d106
100644
(file)
--- a/
lib/Object/Remote/Connector/LocalSudo.pm
+++ b/
lib/Object/Remote/Connector/LocalSudo.pm
@@
-91,7
+91,8
@@
push @Object::Remote::Connection::Guess, sub {
for ($_[0]) {
# username followed by @
if (defined and !ref and /^ ([^\@]*?) \@ $/x) {
- return __PACKAGE__->new(target_user => $1);
+ shift(@_);
+ return __PACKAGE__->new(@_, target_user => $1);
}
}
return;