aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/pin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/pin.rb')
-rw-r--r--Library/Homebrew/cmd/pin.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/pin.rb b/Library/Homebrew/cmd/pin.rb
index 2c0d5d33d..b8c1d1e33 100644
--- a/Library/Homebrew/cmd/pin.rb
+++ b/Library/Homebrew/cmd/pin.rb
@@ -2,9 +2,6 @@ require 'formula'
module Homebrew extend self
def pin
- if Process.uid.zero? and not File.stat(HOMEBREW_BREW_FILE).uid.zero?
- abort "Cowardly refusing to `sudo pin'"
- end
raise FormulaUnspecifiedError if ARGV.named.empty?
ARGV.formulae.each do |f|