summaryrefslogtreecommitdiff
path: root/chef-bin/bin/chef-windows-service
diff options
context:
space:
mode:
Diffstat (limited to 'chef-bin/bin/chef-windows-service')
-rwxr-xr-xchef-bin/bin/chef-windows-service2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-bin/bin/chef-windows-service b/chef-bin/bin/chef-windows-service
index 646e3b4a93..ce1a30baae 100755
--- a/chef-bin/bin/chef-windows-service
+++ b/chef-bin/bin/chef-windows-service
@@ -23,7 +23,7 @@
# generate will call that file, and will be registered as
# a windows service.
-$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
+$:.unshift(File.join(__dir__, "..", "lib"))
require "chef"
require "chef/application/windows_service"