mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
added in more random structure protection for Lx cache
This commit is contained in:
parent
d2b452218c
commit
7db2ab4dcf
2
inxi
2
inxi
|
@ -7397,7 +7397,7 @@ sub cpu_cache_dmi {
|
|||
elsif (!$id && $value =~ /^Configuration:.* Level.*([1-3])\b/){
|
||||
$id = "L$1";
|
||||
}
|
||||
elsif ($id && $value =~ /^Installed Size: (.*B)$/){
|
||||
elsif ($id && $value =~ /^Installed Size:\s+(.*B)$/){
|
||||
$amount = main::translate_size($1);
|
||||
}
|
||||
if ($id && $amount){
|
||||
|
|
Loading…
Reference in a new issue