diff --git a/modules/performance/php-fpm-batch-analyzer.sh b/modules/performance/php-fpm-batch-analyzer.sh index 4b6c32b..21630fc 100755 --- a/modules/performance/php-fpm-batch-analyzer.sh +++ b/modules/performance/php-fpm-batch-analyzer.sh @@ -93,8 +93,7 @@ users=$(list_all_users) # CRITICAL FIX: Build list of ALL domains on server FIRST # This is needed for accurate traffic percentage calculation -declare -a all_server_domains -local all_domains_string="" +all_domains_string="" # Note: NOT local (function scope only), this is script-level while IFS= read -r username; do [ -z "$username" ] && continue user_domains=$(get_user_domains "$username")