legacy_initrd: Strip any additional arguments to initrd.
This commit is contained in:
parent
f34ed1f53c
commit
641bb15fa4
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ grub_cmd_legacy_initrd (struct grub_command *mycmd __attribute__ ((unused)),
|
|||
#endif
|
||||
);
|
||||
|
||||
return cmd->func (cmd, argc, args);
|
||||
return cmd->func (cmd, argc ? 1 : 0, args);
|
||||
}
|
||||
if (kernel_type == MULTIBOOT)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue