Revert "Merge pull request #1567 from cesarandreu/fix-diagnostic-conditonal"
This reverts commit 89c3348923c3450d8d32f1252abd53209b39c288, reversing changes made to 7f13b37b903564e2a64cea982d6b84d1aa6b800b.
This commit is contained in:
parent
89c3348923
commit
64cb52ef3e
@ -1071,7 +1071,7 @@ module Homebrew
|
||||
|
||||
def check_for_member_of_admin_group
|
||||
groups = Utils.popen_read("groups").split
|
||||
return if groups.include?("admin")
|
||||
return unless groups.include?("admin")
|
||||
|
||||
<<-EOS.undent
|
||||
You are not a member of the "admin" group, which will cause
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user