From 3c6fc13e24fef2b38d3fe017cfa54e9378ed4cf3 Mon Sep 17 00:00:00 2001 From: sersut Date: Mon, 7 Oct 2013 16:29:10 -0700 Subject: Make waiting for the release of the lock optional in RunLock class. --- lib/chef/client.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/chef/client.rb') diff --git a/lib/chef/client.rb b/lib/chef/client.rb index 6863dc7691..04d6799988 100644 --- a/lib/chef/client.rb +++ b/lib/chef/client.rb @@ -475,6 +475,7 @@ class Chef runlock.acquire # don't add code that may fail before entering this section to be sure to release lock begin + runlock.save_pid run_context = nil @events.run_start(Chef::VERSION) Chef::Log.info("*** Chef #{Chef::VERSION} ***") -- cgit v1.2.1