From 8826aa39cebadc17c928d22239ce09a6e547c7ba Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sat, 8 Oct 2011 08:44:08 -0400 Subject: Fix typo. --- check_postgres.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check_postgres.pl') diff --git a/check_postgres.pl b/check_postgres.pl index d966daf5d..bdc0f33c5 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -1399,7 +1399,7 @@ sub add_response { } ## Ports $number = 1; - my %portlist = map { i($_->{port} || ''), $number++; } @targetdb; + my %portlist = map { ($_->{port} || ''), $number++; } @targetdb; if (keys %portlist > 1 and ! $historical) { my $dblist = join ',' => sort { $portlist{$a} <=> $portlist{$b} } keys %portlist; $dbport = qq{ (ports:$dblist)}; -- cgit v1.2.3