mirror of
https://github.com/kdlucas/byte-unixbench.git
synced 2024-12-11 23:30:07 +08:00
prefer || over 'or' (portability w/ ancient Perl)
This commit is contained in:
parent
b9beecdc4a
commit
e477bc0341
@ -713,7 +713,7 @@ sub getCpuInfo {
|
||||
my $model = $val;
|
||||
$model =~ s/ +/ /g;
|
||||
$cpus->[$cpu]{'model'} = $model;
|
||||
} elsif ($field eq "bogomips" or $field eq "BogoMIPS") {
|
||||
} elsif ($field eq "bogomips" || $field eq "BogoMIPS") {
|
||||
$cpus->[$cpu]{'bogo'} = $val;
|
||||
} elsif ($field eq "flags") {
|
||||
$cpus->[$cpu]{'flags'} = processCpuFlags($val);
|
||||
|
Loading…
Reference in New Issue
Block a user