postgres.git / summary / log / commit / refs
commit e014d25deade08df082d2b37de45adb0c984f563
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Wed Apr 21 15:12:04 2021 +0000
First released in: 14.0, 9.6.22, 10.17, 11.12, 12.7, 13.3
fix silly perl error in commit d064afc720
src/test/perl/PostgresNode.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm
index 8394c57d3f8..685dee6fab5 100644
--- a/src/test/perl/PostgresNode.pm
+++ b/src/test/perl/PostgresNode.pm
@@ -1344,8 +1344,7 @@ sub get_free_port
if ($found == 1)
{
foreach my $addr (qw(127.0.0.1),
- $use_tcp ? qw(127.0.0.2 127.0.0.3 0.0.0.0) : ())
- $use_tcp && $TestLib::windows_os
+ ($use_tcp && $TestLib::windows_os)
? qw(127.0.0.2 127.0.0.3 0.0.0.0)
: ())
{
[parent: 26ac261ee403]