Skip to content

Commit

Permalink
don't segfault if no mainline kernels installed
Browse files Browse the repository at this point in the history
  • Loading branch information
bkw777 committed Aug 7, 2021
1 parent a4516a3 commit d3b91b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion po/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mainline 1.0.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-07 13:19-0400\n"
"POT-Creation-Date: 2021-08-07 15:39-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
2 changes: 1 addition & 1 deletion src/Common/LinuxKernel.vala
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public class LinuxKernel : GLib.Object, Gee.Comparable<LinuxKernel> {
log_msg(string.nfill(70, '-'));

// find the highest installed version ----------------------
kernel_latest_installed = null;
kernel_latest_installed = new LinuxKernel.from_version("0");
foreach(var k in kernel_list){
if (k.is_installed) {
kernel_latest_installed = k;
Expand Down

0 comments on commit d3b91b0

Please sign in to comment.