[O] Fix duplicated variable

https://github.com/dylanaraps/neofetch/pull/1588
This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-08-11 22:26:33 -04:00
parent 3f4b5b2a1f
commit 503cc3ec98

View file

@ -1545,7 +1545,7 @@ get_model() {
;;
BSD|MINIX)
if [[ $(uname -s) = "FreeBSD" ]]; then
if [[ $kernel_name = "FreeBSD" ]]; then
model=$(kenv smbios.system.version)
else
model=$(sysctl -n hw.vendor hw.product)