Corrected an error in array decalartion in log_sum_result.sh