fix fpmmax var name

This commit is contained in:
Matthew Saunders Brown 2024-05-16 11:15:17 -07:00
parent 463c5a74c9
commit f20bd3b14e

View File

@ -68,7 +68,7 @@ do
fpmmax=0 fpmmax=0
if [[ -f "/etc/php/$phpVersion/fpm/pool.d/$username.conf" ]]; then if [[ -f "/etc/php/$phpVersion/fpm/pool.d/$username.conf" ]]; then
fpmax=$(grep pm.max_children /etc/php/$phpVersion/fpm/pool.d/$username.conf | awk -F '=' '{ print $2 }' | tr -d ' ') fpmmax=$(grep pm.max_children /etc/php/$phpVersion/fpm/pool.d/$username.conf | awk -F '=' '{ print $2 }' | tr -d ' ')
fi fi
if [[ -n $verbose ]]; then if [[ -n $verbose ]]; then