]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
fix silly perl error in commit d064afc720
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 21 Apr 2021 15:12:04 +0000 (11:12 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 21 Apr 2021 15:15:54 +0000 (11:15 -0400)
src/test/perl/PostgresNode.pm

index f5a8325c999bfd9742ae467dc38ff9d4c29bfd90..addfb72adb21802a3a84cbb1fc0057bd66fbdc57 100644 (file)
@@ -1200,8 +1200,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)
                : ())
                        {