Skip to content

Commit 490535c

Browse files
committed
Use custom filename first to disambiguate
1 parent 0f096aa commit 490535c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

features/config-create.feature

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ Feature: Create a wp-config file
167167
And a find-socket.php file:
168168
"""
169169
<?php
170-
if ( file_exists( '/var/run/mysqld/mysqld.sock' ) ) {
170+
if ( file_exists( '/tmp/mysqld.sock' ) ) {
171+
echo '/tmp/mysqld.sock';
172+
} else if ( file_exists( '/var/run/mysqld/mysqld.sock' ) ) {
171173
echo '/var/run/mysqld/mysqld.sock';
172174
} else if ( file_exists( '/tmp/mysql.sock' ) ) {
173175
echo '/tmp/mysql.sock';

0 commit comments

Comments
 (0)