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