aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2016-03-21 16:33:49 +0000
committerXu Cheng2016-03-22 18:55:19 +0800
commitca5b7440c69a37b5f03f7b8949df27d8824d307d (patch)
treea5ff41d3e7859e3bebc559963d46555fd56199d7
parent4f70064d73455afee3ec9ff341a74e769ddb9f65 (diff)
downloadbrew-ca5b7440c69a37b5f03f7b8949df27d8824d307d.tar.bz2
diagnostic: make `chown` recommendation consistent
This is the only place we advise `:admin` as well so might as well change this one. Closes Homebrew/homebrew#50279. Closes Homebrew/homebrew#50295. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
-rw-r--r--Library/Homebrew/diagnostic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index 827d18716..8cf1d6d9a 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -523,7 +523,7 @@ module Homebrew
You should probably change the ownership and permissions of /usr/local
back to your user account.
- sudo chown -R $(whoami):admin /usr/local
+ sudo chown -R $(whoami) /usr/local
EOS
end
end