From 91ddeb4704ec0c3755ca2ae16a0f009d81da941a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 21 Feb 2006 16:03:46 +0000 Subject: fix typo --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 0d516ed3a..b409ba504 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -889,7 +889,7 @@ sub get_mac_generation() { sub hasSMP() { return if $::testing; - any { /NR_CPUS limit of 1 reached/ } syslog() || + (any { /NR_CPUS limit of 1 reached/ } syslog()) || any { /\bProcessor #(\d+)\s+(\S*)/ && $1 > 0 && $2 ne 'invalid' } syslog(); } sub hasPCMCIA() { $::o->{pcmcia} } #- because /proc/pcmcia seems not to be present on 2.4 at least (or use /var/run/stab) -- cgit v1.2.1