Skip to content
Snippets Groups Projects
Commit 753adbb0 authored by Adam Coffman's avatar Adam Coffman Committed by Jack Nagel
Browse files

upgrade: put exit statements in both conditional branches


This check was only occurring in one branch of the conditional.
As a result, if you ran `brew upgrade` with no args and there were no packages to upgrade,
the nonsensical message

"==> Upgrading 0 outdated package, with result:"

would be printed.

Closes Homebrew/homebrew#21316.

Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent e33d3e1e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment