summaryrefslogtreecommitdiff
path: root/chef-bin/bin/chef-client
diff options
context:
space:
mode:
Diffstat (limited to 'chef-bin/bin/chef-client')
-rwxr-xr-xchef-bin/bin/chef-client2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-bin/bin/chef-client b/chef-bin/bin/chef-client
index 45a6af546a..69436d4182 100755
--- a/chef-bin/bin/chef-client
+++ b/chef-bin/bin/chef-client
@@ -18,7 +18,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
+$:.unshift(File.join(__dir__, "..", "lib"))
require "chef"
require "chef/application/client"