[fix] Propagate variable rename CPUCORES -> num_cpu_cores

This commit is contained in:
William Wernert committed 2020-04-22 14:37:27 -04:00
1 parent 7c1bf39ff4
commit 088e9f1e7d
2 files changed
+9 -9

No files matched your search

+1 -1
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)