2009-12-21 Andreas Born <futur.andy@googlemail.com>

* kern/env.c (grub_env_context_open): Mark exported variable for
	reexport.
This commit is contained in:
Andreas Born 2009-12-21 15:27:50 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent 0175d51f49
commit 05d2154711
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-12-21 Andreas Born <futur.andy@googlemail.com>
* kern/env.c (grub_env_context_open): Mark exported variable for
reexport.
2009-12-21 Andreas Born <futur.andy@googlemail.com>
* kern/env.c (grub_env_export): Create nonexistent variables before

View file

@ -101,6 +101,7 @@ grub_env_context_open (int export)
grub_env_context_close ();
return grub_errno;
}
grub_env_export (var->name);
grub_register_variable_hook (var->name, var->read_hook, var->write_hook);
}
}