cleaner: fix permission debug output

This commit is contained in:
Jack Nagel 2013-12-21 23:28:03 -06:00
parent 0bb7c4d3ed
commit e480206464

View File

@ -53,7 +53,7 @@ class Cleaner
0444
end
if ARGV.debug?
old_perms = path.stat.mode
old_perms = path.stat.mode & 0777
if perms != old_perms
puts "Fixing #{path} permissions from #{old_perms.to_s(8)} to #{perms.to_s(8)}"
end