diff --git a/bin/cpu-count b/bin/cpu-count index 42b052f7..51c2c8d3 100755 --- a/bin/cpu-count +++ b/bin/cpu-count @@ -17,8 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -count=`grep -c "^processor.*:" /proc/cpuinfo` -[ "$count" = "1" ] || printf "%sx" "$count" if [ "$1" = "--detail" ]; then exit 0 fi +count=`grep -c "^processor.*:" /proc/cpuinfo` +[ "$count" = "1" ] || printf "%sx" "$count"