merge mainline into asprintf
This commit is contained in:
commit
2d49abe9e7
342 changed files with 14569 additions and 4699 deletions
|
@ -264,10 +264,11 @@ grub_env_unset (const char *name)
|
|||
if (! var)
|
||||
return;
|
||||
|
||||
/* XXX: It is not possible to unset variables with a read or write
|
||||
hook. */
|
||||
if (var->read_hook || var->write_hook)
|
||||
return;
|
||||
{
|
||||
grub_env_set (name, "");
|
||||
return;
|
||||
}
|
||||
|
||||
grub_env_remove (var);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue