[fix] Propagate variable rename CPUCORES -> num_cpu_cores

This commit is contained in:
William Wernert
2020-04-22 14:37:27 -04:00
parent 7c1bf39ff4
commit 088e9f1e7d
2 changed files with 9 additions and 9 deletions

View File

@@ -31,7 +31,7 @@ filter_unused_nics() {
calculate_useable_cores() {
# Calculate reasonable core usage
local cores_for_bro=$(( CPUCORES/2 - 1 ))
local cores_for_bro=$(( num_cpu_cores/2 - 1 ))
local lb_procs_round
lb_procs_round=$(printf "%.0f\n" $cores_for_bro)