one more bug fix in grub_script_execute_arglist_to_argv
This commit is contained in:
parent
d63cdb6e70
commit
1368740e69
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ grub_script_execute_arglist_to_argv (struct grub_script_arglist *arglist, int *c
|
|||
{
|
||||
case GRUB_SCRIPT_ARG_TYPE_VAR:
|
||||
value = grub_env_get (arg->str);
|
||||
while (*value && (ptr = move_to_next(&value)))
|
||||
while (value && *value && (ptr = move_to_next(&value)))
|
||||
{
|
||||
empty = 0;
|
||||
append (ptr, value - ptr);
|
||||
|
|
Loading…
Reference in a new issue