summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Smokeping/Master.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/Master.pm b/lib/Smokeping/Master.pm
index 95c7884..8560de3 100644
--- a/lib/Smokeping/Master.pm
+++ b/lib/Smokeping/Master.pm
@@ -47,7 +47,7 @@ sub get_targets {
$return{$key} = $trg->{$key};
}
}
- $trg->{nomasterpoll} = 'no'; # slaves poll always
+ $return{nomasterpoll} = 'no'; # slaves poll always
return ($ok ? \%return : undef);
}