From c7d7359d0c4f3e58d7182ae811c01e6ce5503a44 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Fri, 12 Apr 2013 15:49:32 +0100 Subject: [PATCH] One CPU is all we need. --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index a4741c3..b07a23e 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -347,7 +347,7 @@ exec 2>$LOGPIPE #------------------------------------------------------------------------------- __gather_hardware_info() { if [ -f /proc/cpuinfo ]; then - CPU_VENDOR_ID=$(awk '/vendor_id|Processor/ {sub(/-.*$/,"",$3); print $3}' /proc/cpuinfo ) + CPU_VENDOR_ID=$(awk '/vendor_id|Processor/ {sub(/-.*$/,"",$3); print $3; exit}' /proc/cpuinfo ) elif [ -f /usr/bin/kstat ]; then # SmartOS. # Solaris!?