f1e201a0aa
OBS-URL: https://build.opensuse.org/request/show/625372 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=190
18 lines
623 B
Diff
18 lines
623 B
Diff
Index: grub-2.02/grub-core/normal/main.c
|
|
===================================================================
|
|
--- grub-2.02.orig/grub-core/normal/main.c
|
|
+++ grub-2.02/grub-core/normal/main.c
|
|
@@ -282,10 +282,11 @@ grub_normal_execute (const char *config,
|
|
int boot;
|
|
boot = 0;
|
|
char *script;
|
|
+ char *dummy[1] = { NULL };
|
|
script = grub_malloc (1024);
|
|
if (! grub_ieee1275_cas_reboot (script))
|
|
{
|
|
- if (! grub_script_execute_sourcecode (script))
|
|
+ if (! grub_script_execute_new_scope (script, 0, dummy))
|
|
boot = 1;
|
|
}
|
|
grub_free (script);
|