diff --git a/processor_detection.4 b/processor_detection.4 index 9feb165..66587e2 100644 --- a/processor_detection.4 +++ b/processor_detection.4 @@ -36,7 +36,7 @@ if [ "$subtype" = "android" ]; then fi fi if [ "$hasawk" -eq 1 ] && [ "$system_type" = "illumos" ] && [ -z "$processor" ]; then - if [ -n "$(kstat | grep brand") ]; then + if [ -n "$(kstat | grep brand)" ]; then processor="$(kstat | grep brand | head -n 1 | tr -s " " | awk -F "brand " '{print $2}')" fi fi