summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-12-21 11:48:54 +0100
committerTobi Oetiker <tobi@oetiker.ch>2007-12-21 11:48:54 +0100
commit17a23d3e899c888d28d85c1884cb6cd2f8e1120c (patch)
tree4933a97ee8fb2a2d8daba2a9860832efe580733b
parent8722b99cc4b3a4f264c757f22c10c485e1ee0dc4 (diff)
downloadsmokeping-17a23d3e899c888d28d85c1884cb6cd2f8e1120c.tar.gz
smokeping-17a23d3e899c888d28d85c1884cb6cd2f8e1120c.tar.xz
missing my added
-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 945cb78..e54a264 100644
--- a/lib/Smokeping/Master.pm
+++ b/lib/Smokeping/Master.pm
@@ -105,7 +105,7 @@ sub save_updates {
" in the local data structure. Make sure you run the ".
"smokeping daemon. ($cfg->{General}{datadir})\n";
}
- elsif ( open ($hand, '+>>' , $file) ) {
+ elsif ( open (my $hand, '+>>' , $file) ) {
for (my $i = 10; $i < 0; $i--){
if ( flock $hand, LOCK_EX ){
my $existing = [];