summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-02-21 16:03:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-02-21 16:03:57 +0000
commit6af444809e4173472cae634a24446ee9eeef5ce3 (patch)
tree2b5911887816dc803e0c41a80a150af0b6bedb49
parentdf9a1494f3d3d716f5968eecb1affddf232b5081 (diff)
downloaddrakx-backup-do-not-use-6af444809e4173472cae634a24446ee9eeef5ce3.tar
drakx-backup-do-not-use-6af444809e4173472cae634a24446ee9eeef5ce3.tar.gz
drakx-backup-do-not-use-6af444809e4173472cae634a24446ee9eeef5ce3.tar.bz2
drakx-backup-do-not-use-6af444809e4173472cae634a24446ee9eeef5ce3.tar.xz
drakx-backup-do-not-use-6af444809e4173472cae634a24446ee9eeef5ce3.zip
fix typo
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 827aa84c5..0e2eceaa9 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -873,7 +873,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)