Fix typo in illumos processor detection.

This commit is contained in:
abbie 2024-11-13 20:17:45 +00:00
parent 7a063fa170
commit c09d7c8298
Signed by: threeoh6000
GPG key ID: 801FE4AD456E922C

View file

@ -36,7 +36,7 @@ if [ "$subtype" = "android" ]; then
fi fi
fi fi
if [ "$hasawk" -eq 1 ] && [ "$system_type" = "illumos" ] && [ -z "$processor" ]; then 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}')" processor="$(kstat | grep brand | head -n 1 | tr -s " " | awk -F "brand " '{print $2}')"
fi fi
fi fi