2009-12-13 Carles Pina i Estany <carles@pina.cat>
* script/execute.c (grub_script_execute_cmdline): Set grub_errno to GRUB_ERR_NONE before calling grub_env_set.
This commit is contained in:
parent
dc0c71d974
commit
3102743011
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-12-13 Carles Pina i Estany <carles@pina.cat>
|
||||||
|
|
||||||
|
* script/execute.c (grub_script_execute_cmdline): Set grub_errno to
|
||||||
|
GRUB_ERR_NONE before calling grub_env_set.
|
||||||
|
|
||||||
2009-12-12 Robert Millan <rmh@aybabtu.com>
|
2009-12-12 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* gendistlist.sh (EXTRA_DISTFILES): Add `genvideolist.sh'.
|
* gendistlist.sh (EXTRA_DISTFILES): Add `genvideolist.sh'.
|
||||||
|
|
|
@ -113,13 +113,13 @@ grub_script_execute_cmdline (struct grub_script_cmd *cmd)
|
||||||
|
|
||||||
if (eq)
|
if (eq)
|
||||||
{
|
{
|
||||||
|
/* This was set because the command was not found. */
|
||||||
|
grub_errno = GRUB_ERR_NONE;
|
||||||
|
|
||||||
/* Create two strings and set the variable. */
|
/* Create two strings and set the variable. */
|
||||||
*eq = '\0';
|
*eq = '\0';
|
||||||
eq++;
|
eq++;
|
||||||
grub_env_set (assign, eq);
|
grub_env_set (assign, eq);
|
||||||
|
|
||||||
/* This was set because the command was not found. */
|
|
||||||
grub_errno = GRUB_ERR_NONE;
|
|
||||||
}
|
}
|
||||||
grub_free (assign);
|
grub_free (assign);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue