Skip to content

Commit

Permalink
Merge remote-tracking branch 'clearlinux/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
silkeh committed Jun 16, 2024
2 parents d1f882a + 6dad804 commit 15f1180
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bootman/bootman.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ bool boot_manager_set_default_kernel(BootManager *self, const Kernel *kernel)
CHECK_DBG_RET_VAL(!cbm_is_sysconfig_sane(self->sysconfig), false,
"Sysconfig is not sane");

CHECK_ERR_RET_VAL(!kernel, false, "No kernel specified, bailing");

/* Grab the available kernels */
kernels = boot_manager_get_kernels(self);
CHECK_ERR_RET_VAL(!kernels || kernels->len == 0, false,
Expand Down

0 comments on commit 15f1180

Please sign in to comment.