pfetch: correctly display OS version of FreeBSD

This commit is contained in:
cyrilst 2020-10-25 19:10:15 +01:00
parent 9886d75967
commit 2ac2cf856a

4
pfetch
View File

@ -290,6 +290,10 @@ get_os() {
distro="$distro $openbsd_ver"
;;
FreeBSD)
distro="$os $(freebsd-version)"
;;
(*)
# Catch all to ensure '$distro' is never blank.
# This also handles the BSDs.