From 7cfe896a1c8d0991356a262c5b40546f8a1b0310 Mon Sep 17 00:00:00 2001 From: Elias Bakken Date: Mon, 10 Jun 2024 11:26:48 +0200 Subject: [PATCH] nproc --all reports more CPUs than is installed --- rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebuild.sh b/rebuild.sh index 6c0f0da..24e2bb6 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -17,7 +17,7 @@ barebone | mainsail | fluidd | octoprint) esac # Cores -reported_cores=$(nproc --all) +reported_cores=$(nproc) if [ ! -z $cores ] && [ $cores -gt $reported_cores ]; then echo "😿 Desired core count greater than reported available cores." elif [ ! -z $cores ] && [ $cores -lt 1 ]; then