summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rwxr-xr-xkernel/update_kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel
index 445ebca00..01b1bca66 100755
--- a/kernel/update_kernel
+++ b/kernel/update_kernel
@@ -40,7 +40,7 @@ sub update_kernel_from_repository {
my $rpm_wildcard = 'kernel-' . ($is_BOOT ? 'BOOT-' : '') . $main_ver . '*.rpm';
my ($kernel_rpm) = my @kernels = glob("$RPMS/$rpm_wildcard");
@kernels <= 1 or die "more than one kernel match $rpm_wildcard";
- @kernels >= 1 or die "no kernel match $rpm_wildcard";
+ @kernels >= 1 or return; # die "no kernel match $rpm_wildcard";
install_kernel($kernel_rpm, 1);
}