summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-10-09 16:25:25 -0700
committerGitHub <noreply@github.com>2017-10-09 16:25:25 -0700
commit2b82922182f424b0d7179444bfe99d09398d460a (patch)
tree9c56357cb1a323803a9fcd21681c2c7bc9d5283b
parent2894585a40fbec06a5ff224ad579ff7194833aa2 (diff)
parent7a397fad0a72ceaa5374db860f0a051e3f49f5d1 (diff)
downloadchef-2b82922182f424b0d7179444bfe99d09398d460a.tar.gz
Merge pull request #6461 from grekasius/chef_client_signal_handling
Sleep for another interval after handling SIGHUP
-rw-r--r--lib/chef/application/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb
index ae16777cb6..32530925d5 100644
--- a/lib/chef/application/client.rb
+++ b/lib/chef/application/client.rb
@@ -501,7 +501,7 @@ class Chef::Application::Client < Chef::Application
# we need to sleep again after reconfigure to avoid stampeding when logrotate runs out of cron
if signal == RECONFIGURE_SIGNAL
reconfigure
- interval_sleep(sleep)
+ interval_sleep(sec)
end
else
sleep(sec)