From c09d7c82984e59e85306b6619bf650acacd81ea8 Mon Sep 17 00:00:00 2001 From: threeoh6000 Date: Wed, 13 Nov 2024 20:17:45 +0000 Subject: [PATCH] Fix typo in `illumos` processor detection. --- processor_detection.4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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