diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-01-19 11:26:08 -0800 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2016-01-19 11:51:55 -0800 |
commit | eacdbae976c05cccb6550d04f664034b9e66448f (patch) | |
tree | 89978620ad1860647175603f246b9a081c271807 /lib | |
parent | 600f83f177370adbd916666190989054d6fae1f0 (diff) | |
download | chef-eacdbae976c05cccb6550d04f664034b9e66448f.tar.gz |
explicitly adding .bat to service executable called by service in case users remove .bat from PATHEXT
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/application/windows_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/windows_service.rb b/lib/chef/application/windows_service.rb index 957123b1e9..a57cf138e4 100644 --- a/lib/chef/application/windows_service.rb +++ b/lib/chef/application/windows_service.rb @@ -196,7 +196,7 @@ class Chef # Starts a new process and waits till the process exits result = shell_out( - "chef-client #{config_params}", + "chef-client.bat #{config_params}", :timeout => Chef::Config[:windows_service][:watchdog_timeout], :logger => Chef::Log, ) |