mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-19 13:40:16 +00:00
correct return value of checkkey for null-terminal
This commit is contained in:
parent
546d060783
commit
02772f981b
@ -145,7 +145,7 @@ int
|
|||||||
grub_checkkey (void)
|
grub_checkkey (void)
|
||||||
{
|
{
|
||||||
if (!grub_cur_term_input)
|
if (!grub_cur_term_input)
|
||||||
return 0;
|
return -1;
|
||||||
return (grub_cur_term_input->checkkey) ();
|
return (grub_cur_term_input->checkkey) ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user