summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/RemoteFPing.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Smokeping/probes/RemoteFPing.pm')
-rw-r--r--lib/Smokeping/probes/RemoteFPing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/RemoteFPing.pm b/lib/Smokeping/probes/RemoteFPing.pm
index c23591e..10df472 100644
--- a/lib/Smokeping/probes/RemoteFPing.pm
+++ b/lib/Smokeping/probes/RemoteFPing.pm
@@ -82,7 +82,7 @@ sub probevars {
my $h = $class->SUPER::probevars;
$h->{rbinary} = $h->{binary};
delete $h->{binary};
- delete $h->{rbinary}{sub}; # we can't check the remote program's -x bit
+ delete $h->{rbinary}{_sub}; # we can't check the remote program's -x bit
@{$h->{_mandatory}} = map { $_ ne 'binary' ? $_ : 'rbinary' } @{$h->{_mandatory}};
return $class->_makevars($h, {
_mandatory => [ 'binary', 'rhost' ],