summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/harddrake/bttv.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/harddrake/bttv.pm b/perl-install/harddrake/bttv.pm
index c18cf705e..4bc6cb63c 100644
--- a/perl-install/harddrake/bttv.pm
+++ b/perl-install/harddrake/bttv.pm
@@ -204,9 +204,11 @@ If your card is misdetected, you can force the right tuner and card types here.
my $options =
'radio=' . ($conf{radio} ? 1 : 0) . ' '.
join(' ', map { if_($conf{$_} ne -1, "$_=$conf{$_}") } qw(card pll tuner gbuffers));
- log::l("[harddrake::bttv] $options");
- standalone::explanations("modified file /etc/modules.conf ($options)") if $::isStandalone;
- modules::set_options("bttv", $options) if $options;
+ if ($options) {
+ log::l("[harddrake::bttv] $options");
+ standalone::explanations("modified file /etc/modules.conf ($options)") if $::isStandalone;
+ modules::set_options("bttv", $options);
+ }
}
}