[O] Fix duplicated variable
https://github.com/dylanaraps/neofetch/pull/1588
This commit is contained in:
parent
3f4b5b2a1f
commit
503cc3ec98
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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)
|
||||
|
|
Loading…
Reference in a new issue