Commit 641bb15f authored by Vladimir Serbinenko's avatar Vladimir Serbinenko

legacy_initrd: Strip any additional arguments to initrd.

parent f34ed1f5
......@@ -517,7 +517,7 @@ grub_cmd_legacy_initrd (struct grub_command *mycmd __attribute__ ((unused)),
return cmd->func (cmd, argc, args);
return cmd->func (cmd, argc ? 1 : 0, args);
if (kernel_type == MULTIBOOT)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment