* grub-core/commands/cat.c (grub_cmd_cat): Fix termination key check.
This commit is contained in:
parent
b63d89b684
commit
1a1ac4f6cb
2 changed files with 7 additions and 2 deletions
|
@ -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 a new issue