From 17a23d3e899c888d28d85c1884cb6cd2f8e1120c Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Fri, 21 Dec 2007 10:48:54 +0000 Subject: missing my added --- lib/Smokeping/Master.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping') 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 = []; -- cgit v1.2.3-24-g4f1b