mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
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:
1 parent
dc0c71d974
commit
3102743011
2 files changed
+8
-3
No files matched your search
+3
-3
@@ -113,13 +113,13 @@ grub_script_execute_cmdline (struct grub_script_cmd *cmd)
|
||||
|
||||
if (eq)
|
||||
{
|
||||
/* This was set because the command was not found. */
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
|
||||
/* Create two strings and set the variable. */
|
||||
*eq = '\0';
|
||||
eq++;
|
||||
grub_env_set (assign, eq);
|
||||
|
||||
/* This was set because the command was not found. */
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
}
|
||||
grub_free (assign);
|
||||
|
||||
|
||||
Reference in new issue
Block a user