Skip to content

Commit 20c31fa

Browse files
committed
cleanup
1 parent 64fa366 commit 20c31fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/container/functions/20-php-fpm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ phpfpm_configure_pools() {
257257
## TODO - need to find a way to dynamically set this in nginx /sites.enabled or other file - NGINX_SITE_... PHPFPM_POOL_NGINX_SITE?
258258
fi
259259

260-
for phpfpm_pool in $(set -o posix ; set | sort | grep "^PHPFPM_POOL_.*_LISTEN_TYPE" | sed -n "s/^PHPFPM_POOL_\([^_]*\)_.*$/\1/p" | sed "/^DEFAULT/d" ) ; do
260+
for phpfpm_pool in $(set -o posix ; set | sort | grep "^PHPFPM_POOL_.*_LISTEN_TYPE" | sed -n -e "s/^PHPFPM_POOL_\([^_]*\)_.*$/\1/p" -e "/^DEFAULT/d" ) ; do
261261
_php_fpm_pool_vars="$(mktemp)"
262262
set -o posix ; set | grep -E "^PHPFPM_POOL_${phpfpm_pool}_|^PHPFPM_POOL_DEFAULT_" | tr " " "\n" > "${_php_fpm_pool_vars}"
263263
_phpfpm_pool_prefix="${php_prefix%/}/pools.d/${phpfpm_pool,,}"

0 commit comments

Comments
 (0)