fix fpmmax var name
This commit is contained in:
parent
463c5a74c9
commit
f20bd3b14e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user