fix silly perl error in commit d064afc720
authorAndrew Dunstan <[email protected]>
Wed, 21 Apr 2021 15:12:04 +0000 (11:12 -0400)
committerAndrew Dunstan <[email protected]>
Wed, 21 Apr 2021 15:16:13 +0000 (11:16 -0400)
src/test/perl/PostgresNode.pm

index da8d07f73cf3ca0c4cb2dd8c038b12e03f973934..16fa2036615fc2c074e59d380704984cbcdc55d3 100644 (file)
@@ -1007,8 +1007,7 @@ sub get_new_node
        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)
                : ())
            {