From: Andrew Dunstan Date: Wed, 21 Apr 2021 15:12:04 +0000 (-0400) Subject: fix silly perl error in commit d064afc720 X-Git-Tag: REL_11_12~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e34adb2e6960ba8e885797a413620b344f468933;p=thirdparty%2Fpostgresql.git fix silly perl error in commit d064afc720 --- diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index 6d69cf1d0e0..d06a8319cc0 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -1123,8 +1123,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) : ()) {