mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-29 19:27:01 +00:00
* grub-core/commands/cat.c (grub_cmd_cat): Fix termination key check.
This commit is contained in:
parent
b63d89b684
commit
1a1ac4f6cb
@ -1,3 +1,7 @@
|
||||
2012-03-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/cat.c (grub_cmd_cat): Fix termination key check.
|
||||
|
||||
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* configure.ac: Bump up the version to beta2.
|
||||
|
@ -77,8 +77,9 @@ grub_cmd_cat (grub_extcmd_context_t ctxt, int argc, char **args)
|
||||
}
|
||||
}
|
||||
|
||||
while ((key = grub_getkey_noblock ()) != GRUB_TERM_ESC)
|
||||
;
|
||||
do
|
||||
key = grub_getkey_noblock ();
|
||||
while (key != GRUB_TERM_ESC && key != GRUB_TERM_NO_KEY);
|
||||
}
|
||||
|
||||
grub_xputs ("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user