Skip to content

Commit b43e71c

Browse files
committed
Bail when default php-fpm_www.sock` couldn't be updated
1 parent 137c070 commit b43e71c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ if [ "$1" == "php-fpm" ]; then
8787

8888
update-alternatives --quiet --set html "/var/www/php$PHP_MILESTONE"
8989
update-alternatives --quiet --set php-fpm "/usr/sbin/php-fpm$PHP_MILESTONE"
90-
[ ! -e "/etc/php/$PHP_MILESTONE/fpm/pool.d/www.conf" ] \
91-
|| update-alternatives --quiet --set php-fpm_www.sock "/run/php-fpm/$PHP_MILESTONE/php-fpm_www.sock"
90+
update-alternatives --quiet --set php-fpm_www.sock "/run/php-fpm/$PHP_MILESTONE/php-fpm_www.sock"
9291

9392
update-alternatives --quiet --set pie "/usr/local/bin/pie-php$PHP_MILESTONE"
9493
update-alternatives --quiet --set composer "/usr/local/bin/composer-php$PHP_MILESTONE"

0 commit comments

Comments
 (0)