Skip to content

Commit

Permalink
[PR] dylanaraps/neofetch#2014 from jrtc27 - neofetch: Don't hang on F…
Browse files Browse the repository at this point in the history
…reeBSD if pkg is not yet bootstrapped

Upstream PR: dylanaraps/neofetch#2014
Thanks to @jrtc27

Co-authored-by: Jessica Clarke <[email protected]>
  • Loading branch information
hykilpikonna and jrtc27 committed Jul 31, 2022
2 parents 7d1ff19 + 97a2dd7 commit b12f35f
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 @@ -1660,7 +1660,7 @@ get_packages() {

case $os-$kernel_name in
BSD-FreeBSD|BSD-DragonFly)
has pkg && tot pkg info
has pkg && tot pkg info </dev/null
;;

BSD-*)
Expand Down

0 comments on commit b12f35f

Please sign in to comment.