diff --git a/inxi b/inxi index 17aca4e..835b928 100755 --- a/inxi +++ b/inxi @@ -798,8 +798,7 @@ initialize_data() if [[ -z ${BSD_VERSION/*bsd*/} || -z ${BSD_VERSION/*darwin*/} ]];then if [[ -z ${BSD_VERSION/*openbsd*/} ]];then BSD_VERSION='openbsd' - fi - if [[ -z ${BSD_VERSION/*darwin*/} ]];then + elif [[ -z ${BSD_VERSION/*darwin*/} ]];then BSD_VERSION='darwin' fi # GNU/kfreebsd will by definition have GNU tools like sed/grep