From d50a0b66da607f0076fc4231bd13d121f7de701f Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Mon, 15 Jan 2007 16:04:32 +0000 Subject: [PATCH] [PYGRUB] Make the boot-choice timeout actually time out. Signed-off-by: Tim Deegan --- tools/pygrub/src/pygrub | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/pygrub/src/pygrub b/tools/pygrub/src/pygrub index 13b05d9a67..a0de67df67 100644 --- a/tools/pygrub/src/pygrub +++ b/tools/pygrub/src/pygrub @@ -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'): -- 2.30.2