mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[PYGRUB] Make the boot-choice timeout actually time out.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
This commit is contained in:
1 parent
6127793b4c
commit
d50a0b66da
1 file changed
+3
@@ -405,6 +405,9 @@ class Grub:
|
||||
c = self.screen.getch()
|
||||
if mytime != -1:
|
||||
mytime += 1
|
||||
if mytime >= int(timeout):
|
||||
self.isdone = True
|
||||
break
|
||||
|
||||
# handle keypresses
|
||||
if c == ord('c'):
|
||||
|
||||