summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Murawski <steven.murawski@gmail.com>2016-06-22 09:18:05 -0500
committerGitHub <noreply@github.com>2016-06-22 09:18:05 -0500
commit5cd8a4a2f133dc252932f4542d5d6b5d7d46fe37 (patch)
tree6700361ef2001787e7daceff5f9c8a887acc786c
parent2ec1b538db83be53006a3b6e88e70181f12f7b49 (diff)
parentf09658f66b403ace0c8236585172cb7a691cc698 (diff)
downloadchef-5cd8a4a2f133dc252932f4542d5d6b5d7d46fe37.tar.gz
Merge pull request #5037 from robdimarco/fix/issue-5027
Fix for #5027 - Remove bad variable reference
-rw-r--r--lib/chef/chef_fs/file_system/multiplexed_dir.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/file_system/multiplexed_dir.rb b/lib/chef/chef_fs/file_system/multiplexed_dir.rb
index d3951edd51..21abc012f8 100644
--- a/lib/chef/chef_fs/file_system/multiplexed_dir.rb
+++ b/lib/chef/chef_fs/file_system/multiplexed_dir.rb
@@ -41,7 +41,7 @@ class Chef
child_entry = dir.child(name)
if child_entry.exists?
if result
- Chef::Log.debug("Child with name '#{child_entry.name}' found in multiple directories: #{result.parent.path_for_printing} and #{child_entry.parent.path_for_printing}") unless seen[child.name].path_for_printing == child.path_for_printing
+ Chef::Log.debug("Child with name '#{child_entry.name}' found in multiple directories: #{result.parent.path_for_printing} and #{child_entry.parent.path_for_printing}")
else
result = child_entry
end