summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/do_pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm
index 0b2c23fa4..2ea2f16c6 100644
--- a/perl-install/do_pkgs.pm
+++ b/perl-install/do_pkgs.pm
@@ -65,7 +65,7 @@ sub check_kernel_module_packages {
map {
$base_name . '-' . bootloader::vmlinuz2version($_);
} bootloader::installed_vmlinuz());
- my @ext = if_($o_ext_name, $do->are_available($o_ext_name));
+ my @ext = $o_ext_name && $do->are_available($o_ext_name);
log::l("found kernel module packages $_") foreach @rpms, @ext;