From 67b7b222c6dea35067075da1bb6b3b6d8c5dc1a5 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 12 Dec 2009 22:38:43 +0000 Subject: [PATCH] minor bugfix: stop the interpreter from complaining about an uninitialized hash element in map call Signed-off-by: Stephen Gran --- dsa-nagios-checks/checks/dsa-check-mirrorsync | 1 + 1 file changed, 1 insertion(+) diff --git a/dsa-nagios-checks/checks/dsa-check-mirrorsync b/dsa-nagios-checks/checks/dsa-check-mirrorsync index af37983..488a7bc 100755 --- a/dsa-nagios-checks/checks/dsa-check-mirrorsync +++ b/dsa-nagios-checks/checks/dsa-check-mirrorsync @@ -110,6 +110,7 @@ foreach my $slave (@slaves) { else { push @exitstatus, "$slave broken: " . $response->status_line; $status->{$slave}->{'error'} = $response->status_line; + $status->{$slave}->{'synced'} = 0; $exitcode = $CRITICAL; push @critical, $slave; } -- 2.20.1