diff --git a/docker/scripts/get-cpus.sh b/docker/scripts/get-cpus.sh index 7e5ca78a1b..fe9e2ac611 100755 --- a/docker/scripts/get-cpus.sh +++ b/docker/scripts/get-cpus.sh @@ -43,7 +43,7 @@ if [ -n "${quota:-}" ] && [ -n "${period:-}" ]; then cpus=1 fi else - cpus=$(grep -c processor /proc/cpuinfo) + cpus=$(grep -c ^processor /proc/cpuinfo) fi echo "$cpus"