cmd/upgrade: fix exit logic.

Fixes #6739
This commit is contained in:
Mike McQuaid 2019-11-14 07:22:19 -08:00
parent 1b926389ad
commit d6d857c154
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -81,7 +81,7 @@ module Homebrew
opoo "#{f.full_specified_name} #{version} already installed"
end
end
exit
return if outdated.empty?
end
pinned = outdated.select(&:pinned?)