Skip to content

Commit 3e3f0aa

Browse files
author
Raphaël Droz
authored
fix for /bin/sh alpine
1 parent 205828e commit 3e3f0aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
126126
: "${WORDPRESS_DB_PASSWORD:=}"
127127
: "${WORDPRESS_DB_NAME:=wordpress}"
128128

129-
if [ -e wp-config.php && -n $NO_AUTO_CONFIG ]; then
129+
if [ -e wp-config.php && -n "$NO_AUTO_CONFIG" ]; then
130130
exec "$@"
131131
fi
132132
if [ -e wp-config.php && ! -w wp-config.php ]; then

0 commit comments

Comments
 (0)