summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2021-04-21 11:12:04 -0400
committerAndrew Dunstan <andrew@dunslane.net>2021-04-21 11:16:22 -0400
commit6cb7dcdb03d76f93411e0e810aba13b6fe4c9a43 (patch)
tree4108948cdcc9fb702a6b5d975ba1474298e2cb24 /src
parent1d997cb3753253f2527aff398c2badbcda830588 (diff)
fix silly perl error in commit d064afc720
Diffstat (limited to 'src')
-rw-r--r--src/test/perl/PostgresNode.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm
index 0ed0114a99b..377b8a1514d 100644
--- a/src/test/perl/PostgresNode.pm
+++ b/src/test/perl/PostgresNode.pm
@@ -992,8 +992,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)
: ())
{