core: FP collision leaser should compare ints

This commit is contained in:
Mitchell Hashimoto 2014-04-20 08:17:07 -07:00
parent aa13a43c69
commit 7829e9b167
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ module Vagrant
oldest = Time.now.to_i - 60
leasedir.children.each do |child|
# Delete old, invalid leases while we're looking
if child.file? && child.mtime < oldest
if child.file? && child.mtime.to_i < oldest
child.delete
end