From 503cc3ec981097cada720a3cb499abd47695a43b Mon Sep 17 00:00:00 2001 From: "Azalea (on HyDEV-Daisy)" Date: Thu, 11 Aug 2022 22:26:33 -0400 Subject: [PATCH] [O] Fix duplicated variable https://github.com/dylanaraps/neofetch/pull/1588 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 38b95519..a21e6ec1 100755 --- a/neofetch +++ b/neofetch @@ -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)