summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake24
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 23a3049d4..797403e5e 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -425,8 +425,8 @@ foreach (@classes) {
$configurator .= harddrake::data::set_removable_configurator($Ident, $_);
if ($Ident eq "AUDIO") {
require harddrake::sound;
- my $alter = harddrake::sound::get_alternative($_->{driver});
- if (my $alternative_drivers = $alter->[0] ne 'unknown' && join(', ', @$alter)) {
+ my @alter = harddrake::sound::get_alternative($_->{driver});
+ if (my $alternative_drivers = join(', ', @alter)) {
$_->{alternative_drivers} = $alternative_drivers;
}
}