Skip to content

Commit

Permalink
[O] Fix duplicated variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Aug 12, 2022
1 parent 3f4b5b2 commit 503cc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 503cc3e

Please sign in to comment.