FIX: Remove debug message interfering with server capacity calculation

The echo statement to stderr was being captured as the function's
return value when php-optimizer.sh ran: $(calculate_server_memory_capacity 2>&1)

This caused all capacity calculations to fail with 'integer expression expected' errors.
This commit is contained in:
Developer
2026-04-20 19:42:50 -04:00
parent 3844fddda8
commit bfc43e749c
-2
View File
@@ -917,8 +917,6 @@ convert_to_bytes() {
# Usage: calculate_server_memory_capacity
# Returns: total_required_mb|total_ram_mb|percentage|status|details
calculate_server_memory_capacity() {
echo "Analyzing server-wide PHP-FPM memory capacity..." >&2
# Get total system memory
local total_ram_mb
total_ram_mb=$(free -m | awk '/^Mem:/ {print $2}')