small fix

This commit is contained in:
Harald Hope 2023-07-10 15:40:08 -07:00
parent 2434d89d0c
commit 7a79e846de

5
inxi
View file

@ -551,11 +551,6 @@ sub set_os {
$bsd_type = $os; $bsd_type = $os;
} }
} }
elsif (!$b_android && !$bsd_type && $system_files{'proc-version'} &&
-r $system_files{'proc-version'} &&
reader($system_files{'proc-version'},'',0) =~ /\b[rf]ed[ho][ar][at]\S{0,6}\.[co]/){
$show{'rf'} = 1;
}
} }
# Sometimes users will have more PATHs local to their setup, so we want those # Sometimes users will have more PATHs local to their setup, so we want those