From 93715fb4a9f2c39bdde982872eba96c55fd67940 Mon Sep 17 00:00:00 2001
From: Dylan Araps <dylan.araps@gmail.com>
Date: Fri, 26 Aug 2016 12:21:32 +1000
Subject: [PATCH] Simplify cpu core

---
 neofetch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/neofetch b/neofetch
index f8b9bf38..930a8ef4 100755
--- a/neofetch
+++ b/neofetch
@@ -576,7 +576,7 @@ getcpu() {
                 speed="$((speed / 100))"
             fi
 
-            cores="$(awk -F ': ' '/siblings/ {printf $2; exit}' /proc/cpuinfo)"
+            cores="$(grep -c ^processor /proc/cpuinfo)"
 
             # Fix for speeds under 1ghz
             if [ -z "${speed:1}" ]; then