aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_ctl/t/001_start_stop.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_ctl/t/001_start_stop.pl')
-rw-r--r--src/bin/pg_ctl/t/001_start_stop.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_ctl/t/001_start_stop.pl b/src/bin/pg_ctl/t/001_start_stop.pl
index 6a1619e171b..b1e419f02e9 100644
--- a/src/bin/pg_ctl/t/001_start_stop.pl
+++ b/src/bin/pg_ctl/t/001_start_stop.pl
@@ -29,7 +29,7 @@ print $conf "port = $node_port\n";
print $conf TestLib::slurp_file($ENV{TEMP_CONFIG})
if defined $ENV{TEMP_CONFIG};
-if (!$windows_os)
+if ($use_unix_sockets)
{
print $conf "listen_addresses = ''\n";
print $conf "unix_socket_directories = '$tempdir_short'\n";