From: Greg Sabino Mullane Date: Sat, 8 Oct 2011 12:44:08 +0000 (-0400) Subject: Fix typo. X-Git-Tag: 2.19.0~30 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=8826aa39cebadc17c928d22239ce09a6e547c7ba;p=check_postgres.git Fix typo. --- 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)};