summaryrefslogtreecommitdiff
path: root/lib/chef/run_lock.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/run_lock.rb')
-rw-r--r--lib/chef/run_lock.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/run_lock.rb b/lib/chef/run_lock.rb
index 1e779a9bdb..5f9b1ae06f 100644
--- a/lib/chef/run_lock.rb
+++ b/lib/chef/run_lock.rb
@@ -22,7 +22,7 @@ if Chef::Platform.windows?
end
require_relative "config"
require_relative "exceptions"
-require "timeout"
+require "timeout" unless defined?(Timeout)
require_relative "dist"
class Chef