summaryrefslogtreecommitdiff
path: root/lib/fileutils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fileutils.rb')
-rw-r--r--lib/fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index 775b2bb5356..0997b947357 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -725,7 +725,7 @@ module FileUtils
streams.each do |s|
next unless s.respond_to?(:stat)
size = s.stat.blksize
- return size unless size.nil? and size.zero?
+ return size unless size.nil? or size.zero?
end
1024
end