summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-10-08 12:44:08 +0000
committerGreg Sabino Mullane2011-10-08 12:44:08 +0000
commit8826aa39cebadc17c928d22239ce09a6e547c7ba (patch)
tree0c9a522e5abc4748fea845226afee47bdee19db7 /check_postgres.pl
parent36675f2ab3748c7f261545ae72255b1864c5d9d2 (diff)
Fix typo.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
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)};