diff options
author | sersut <serdar@opscode.com> | 2013-10-07 16:29:10 -0700 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2013-10-07 16:29:10 -0700 |
commit | 3c6fc13e24fef2b38d3fe017cfa54e9378ed4cf3 (patch) | |
tree | 1dc24df1817c277ec5b9c13476cae24bb4de51e0 /lib/chef/client.rb | |
parent | 5be79cb1396c302bab88cdba36528e70047040cd (diff) | |
download | chef-3c6fc13e24fef2b38d3fe017cfa54e9378ed4cf3.tar.gz |
Make waiting for the release of the lock optional in RunLock class.
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r-- | lib/chef/client.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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} ***") |