diff options
| author | Adam Vandenberg | 2013-06-08 18:17:28 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-08 20:44:56 -0700 |
| commit | 4b014a4ed10ede1fded752970db1531f21d314ab (patch) | |
| tree | 31cf8ecd3e1bba5b0622385b314d0e906f3853df /Library/Homebrew/exceptions.rb | |
| parent | f65ae1fdf64c7dbd81258fa731f29416ebbb4078 (diff) | |
| download | homebrew-4b014a4ed10ede1fded752970db1531f21d314ab.tar.bz2 | |
Consolidate sudo checks.
Closes #20318.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index c91d917d0..9c812ce34 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -213,11 +213,3 @@ class ChecksumMismatchError < RuntimeError super + advice.to_s end end - -module Homebrew extend self - SUDO_BAD_ERRMSG = <<-EOS.undent - You can use brew with sudo, but only if the brew executable is owned by root. - However, this is both not recommended and completely unsupported so do so at - your own risk. - EOS -end |
