summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/timeout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timeout.rb b/lib/timeout.rb
index 4659ec3279..6e7adbd259 100644
--- a/lib/timeout.rb
+++ b/lib/timeout.rb
@@ -77,7 +77,7 @@ module Timeout
end
def expired?(now)
- now >= @deadline and !done?
+ now >= @deadline
end
def interrupt