summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/chef_fs/file_system.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/file_system.rb b/lib/chef/chef_fs/file_system.rb
index 730fa0e5cc..9a5a9be6f7 100644
--- a/lib/chef/chef_fs/file_system.rb
+++ b/lib/chef/chef_fs/file_system.rb
@@ -242,7 +242,7 @@ class Chef
if are_same.nil?
are_same, b_value, a_value = b.compare_to(a)
end
- if are_same.nil?
+ if !are_same.nil?
# TODO these reads can be parallelized
begin
a_value = a.read if a_value.nil?