diff --git a/inxi b/inxi index 33274c1..f25ff40 100755 --- a/inxi +++ b/inxi @@ -1053,7 +1053,7 @@ get_distro_data() ## note: would like to actually understand the method even if it's not used # : ${distro:=Unknown distro o_O} ## test for /etc/lsb-release as a backup in case of failure - if [[ -f /etc/lsb-release && -z $distro ]];then + if [[ -z $distro && -f /etc/lsb-release ]];then distro=$( gawk -F '=' ' { IGNORECASE=1 } /^DISTRIB_ID/ {