aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike McQuaid2016-02-15 11:39:41 +0000
committerMike McQuaid2016-02-15 11:39:41 +0000
commit578e68b2c1cda6af408ca04ed69877de15198b04 (patch)
tree5bbed0d3490289721f1da948c0e76225025ce738 /bin
parentf6cbf7bab0a4d743ca4122c39d60ea669b5f7e14 (diff)
downloadbrew-578e68b2c1cda6af408ca04ed69877de15198b04.tar.bz2
brew: remove `ln` from sudo command check list.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 2184652fe..dbbea5193 100755
--- a/bin/brew
+++ b/bin/brew
@@ -162,7 +162,7 @@ fi
if [[ "$(id -u)" = "0" && "$(/usr/bin/stat -f%u "$HOMEBREW_BREW_FILE")" != "0" ]]
then
case "$HOMEBREW_COMMAND" in
- install|reinstall|postinstall|ln|link|pin|update|update-ruby|upgrade|create|migrate|tap|switch)
+ install|reinstall|postinstall|link|pin|update|update-ruby|upgrade|create|migrate|tap|switch)
odie <<EOS
Cowardly refusing to 'sudo brew $HOMEBREW_COMMAND'
You can use brew with sudo, but only if the brew executable is owned by root.