--- pygrub-xen341 2009-08-17 22:22:29.000000000 +0300 +++ pygrub 2009-08-19 18:39:17.000000000 +0300 @@ -447,7 +447,7 @@ # So we may come here even after a key has been pressed. # Check both timeout and mytime to avoid exiting # when we shouldn't. - if timeout != -1 and mytime >= int(timeout): + if mytime >= int(timeout): self.isdone = True break else: