Skip to content
Snippets Groups Projects
Commit bb96fd7c authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1255 from akirk/patch-1

brew.sh: allow --prefix to be run as root without warning
parents 9ff22c7e 7502c856
No related branches found
No related tags found
No related merge requests found
......@@ -243,6 +243,7 @@ check-run-command-as-root() {
[[ "$HOMEBREW_COMMAND" = "cask" ]] && return
[[ "$HOMEBREW_COMMAND" = "services" ]] && return
[[ "$HOMEBREW_COMMAND" = "--prefix" ]] && return
onoe <<EOS
Running Homebrew as root is extremely dangerous. As Homebrew does not
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment