summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 19:24:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 19:24:03 +0000
commit12e2b5c87a379eec81c5e2d80b67493689691082 (patch)
tree102f4af9d8bcd168175a4f4dddda3e5862d82c70 /perl-install/harddrake/sound.pm
parent41ba541d10a02a787d5fe4974a9c389093c3b155 (diff)
downloaddrakx-12e2b5c87a379eec81c5e2d80b67493689691082.tar
drakx-12e2b5c87a379eec81c5e2d80b67493689691082.tar.gz
drakx-12e2b5c87a379eec81c5e2d80b67493689691082.tar.bz2
drakx-12e2b5c87a379eec81c5e2d80b67493689691082.tar.xz
drakx-12e2b5c87a379eec81c5e2d80b67493689691082.zip
make perl_checker happy
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 a1da2d25f..48e8ffbff 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -158,7 +158,7 @@ sub do_switch {
sub switch {
my ($in, $device) = @_;
my $driver = $device->{current_driver};
- $driver = $device->{driver} unless $driver;
+ $driver ||= $device->{driver};
foreach (@blacklist) { $blacklisted = 1 if $driver eq $_ }
my $alternative = get_alternative($driver);