aboutsummaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahooinc.com>2021-12-11 18:57:26 +0100
committerTor Egge <Tor.Egge@yahooinc.com>2021-12-11 19:07:03 +0100
commit98f6f71d9c38c578a593dfe8ba25feb4c06e8d46 (patch)
tree1f12ce894051401af124a29fa14d31838ace5477 /vespabase
parentecedc44c8182492dae1f128d7e73f6272e6bcc32 (diff)
Darwin does not have numactl command.
Diffstat (limited to 'vespabase')
-rwxr-xr-xvespabase/src/common-env.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh
index cd8c7c604ad..f75ffdbd13f 100755
--- a/vespabase/src/common-env.sh
+++ b/vespabase/src/common-env.sh
@@ -295,6 +295,10 @@ log_warning_message () {
get_numa_ctl_cmd () {
if ! type numactl &> /dev/null; then
+ if test "$(uname -s)" = Darwin
+ then
+ return 0
+ fi
echo "FATAL: Could not find required program numactl."
exit 1
fi