mirror of
https://github.com/Homebrew/brew.git
synced 2026-08-12 22:29:27 +04:00
Keep exiting zero on already pinned formulae
This commit is contained in:
@@ -23,7 +23,7 @@ module Homebrew
|
||||
def run
|
||||
args.named.to_resolved_formulae.each do |f|
|
||||
if f.pinned?
|
||||
ofail "#{f.name} already pinned"
|
||||
opoo "#{f.name} already pinned"
|
||||
elsif !f.pinnable?
|
||||
ofail "#{f.name} not installed"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user