aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-08-16 17:50:33 +0100
committerMike McQuaid2015-08-16 17:50:33 +0100
commit9025719968d8105a186f998b75c5af802ae0d3c6 (patch)
tree283a61217004d611e67ceee48e14224ed7136a5a /Library
parent76316a82cb1a5c875a71b5dc15d6eb887ad2b004 (diff)
downloadbrew-9025719968d8105a186f998b75c5af802ae0d3c6.tar.bz2
cleanup: fix reversed prune time.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index a3b368fb9..15af028d6 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -139,7 +139,7 @@ module Homebrew
return false unless prune_time
- prune_time < path_modified_time
+ path_modified_time < prune_time
end
def eligible_for_cleanup?(formula)