summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xvespabase/src/common-env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh
index 51b7e995273..d5f8381432f 100755
--- a/vespabase/src/common-env.sh
+++ b/vespabase/src/common-env.sh
@@ -303,7 +303,7 @@ get_numa_ctl_cmd () {
grep available |
awk '$3 == "nodes" { print $2 }')
- if [ -n "$numnodes" ]; then
+ if [ -n "$numanodes" ]; then
# We are allowed to use numactl and have NUMA nodes
if [ "$VESPA_AFFINITY_CPU_SOCKET" ] &&
[ "$numnodes" -gt 1 ]