Added another symlink check, see Issue #123.

This commit is contained in:
ethicalhack3r
2013-01-27 12:28:03 +01:00
parent 96d82559ce
commit 39d7bb83b2

View File

@@ -47,7 +47,7 @@ class CacheFileStore
def clean
Dir[File.join(@storage_path, '*')].each do |f|
File.delete(f)
File.delete(f) if !File.symlink?(f)
end
end