summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)};