summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 1f69c86cc..8f4c52d79 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -439,7 +439,7 @@ sub when_load {
eval { load('sd_mod') };
}
if ($category =~ /sound/) {
- my $sound_alias = find { /^sound-slot-[0-9]+$/ and $conf{$_}{alias} eq $name } keys %conf;
+ my $sound_alias = find { /^sound-slot-[0-9]+$/ && $conf{$_}{alias} eq $name } keys %conf;
$sound_alias ||= 'sound-slot-0';
add_alias($sound_alias, $name);
}