mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-18 06:51:15 +00:00
Add missing return after gathering state of additional PHP modules
This commit is contained in:
@@ -27,10 +27,11 @@ enable_modules() {
|
|||||||
|
|
||||||
if [ -z "${mods}" ]; then
|
if [ -z "${mods}" ]; then
|
||||||
log "info" "\$${mod_varname} set, but empty. Not enabling any PHP modules." "${debug}"
|
log "info" "\$${mod_varname} set, but empty. Not enabling any PHP modules." "${debug}"
|
||||||
else
|
return 0
|
||||||
log "info" "Enabling the following PHP modules: ${mods}" "${debug}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
log "info" "Enabling the following PHP modules: ${mods}" "${debug}"
|
||||||
|
|
||||||
while read -r mod; do
|
while read -r mod; do
|
||||||
mod="$( echo "${mod}" | xargs )" # trim
|
mod="$( echo "${mod}" | xargs )" # trim
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user