aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xt/chainlint.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/chainlint.pl b/t/chainlint.pl
index 28e2506032..ea154a206a 100755
--- a/t/chainlint.pl
+++ b/t/chainlint.pl
@@ -715,7 +715,7 @@ sub ncores {
if (open my $fh, '<', '/proc/cpuinfo') {
my $cpuinfo = do { local $/; <$fh> };
close($fh);
- my @matches = ($cpuinfo =~ /^processor[\s\d]*:/mg);
+ my @matches = ($cpuinfo =~ /^(processor|CPU)[\s\d]*:/mg);
return @matches ? scalar(@matches) : 1;
}
# macOS & BSD