Fix issue where cmdline is not loaded
This commit is contained in:
parent
bc7f7277cc
commit
633d49b720
|
@ -56,6 +56,7 @@ refresh:
|
|||
case '\r':
|
||||
config_set_entry(selected_entry);
|
||||
text_enable_cursor();
|
||||
config_get_value(cmdline, 0, 128, "KERNEL_CMDLINE");
|
||||
text_clear();
|
||||
return;
|
||||
case 'e':
|
||||
|
@ -132,6 +133,8 @@ void main(int boot_drive) {
|
|||
panic("Invalid config entry.");
|
||||
}
|
||||
|
||||
config_get_value(cmdline, 0, 128, "KERNEL_CMDLINE");
|
||||
|
||||
got_entry:
|
||||
if (!config_get_value(buf, 0, 32, "KERNEL_DRIVE")) {
|
||||
print("KERNEL_DRIVE not specified, using boot drive (%x)", boot_drive);
|
||||
|
|
Loading…
Reference in New Issue