summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-19 08:46:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-19 08:46:52 +0000
commit787a4746800e537a8301909a482e818f4532ac3e (patch)
tree9444c2e99873a607bc61bf6a6e4222731dd1eecd /perl-install/harddrake/sound.pm
parent3cee10fd2905ac74e15f6d07d20d328d899c785e (diff)
downloaddrakx-787a4746800e537a8301909a482e818f4532ac3e.tar
drakx-787a4746800e537a8301909a482e818f4532ac3e.tar.gz
drakx-787a4746800e537a8301909a482e818f4532ac3e.tar.bz2
drakx-787a4746800e537a8301909a482e818f4532ac3e.tar.xz
drakx-787a4746800e537a8301909a482e818f4532ac3e.zip
(switch) perl_checker fix
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 1fae6f354..9796e7e7f 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -174,7 +174,7 @@ sub switch {
foreach (@blacklist) { $blacklisted = 1 if $driver eq $_ }
my @alternative = @{get_alternative($driver)};
- unless ($driver eq $device->{driver} or member($device->{driver}, @alternative)) {
+ unless ($driver eq $device->{driver} || member($device->{driver}, @alternative)) {
push @alternative, @{get_alternative($device->{driver})}, $device->{driver}
}
if (@alternative) {