From e41014f294df8dce221705de24408dec495b28b1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 17 Apr 2009 14:00:18 +0000 Subject: fix inverted condition for detecting serial modem (regression introduced in r256551) --- perl-install/standalone/harddrake2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 1b0c26e95..adc96cbd9 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -393,7 +393,7 @@ foreach my $hw_class (@harddrake::data::tree) { next if $Ident =~ /(MODEM|PRINTER)/ && $::testing; next if $Ident =~ /JAZZ/ && !$options{JAZZ_DETECTION}; next if $Ident =~ /PRINTER/ && !$options{PRINTERS_DETECTION}; - $detect_devices::detect_serial_modem = 0 if $harddrake::data =~ /MODEM/ && !$options{MODEMS_DETECTION}; + $detect_devices::detect_serial_modem = 0 if $Ident =~ /MODEM/ && !$options{MODEMS_DETECTION}; my @devices = $detector->(\%options); next unless @devices; # Skip empty class (no devices) -- cgit v1.2.1