summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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) {