* grub-core/normal/menu_entry.c (run): Make sure we always return
a value.
This commit is contained in:
parent
b031012d70
commit
df7769d8dc
2 changed files with 6 additions and 1 deletions
|
@ -1207,7 +1207,7 @@ run (struct screen *screen)
|
|||
grub_env_context_open ();
|
||||
menu = grub_zalloc (sizeof (*menu));
|
||||
if (! menu)
|
||||
return;
|
||||
return 0;
|
||||
grub_env_set_menu (menu);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue