aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 edade67bf..b5dd07ac5 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -1071,7 +1071,7 @@ module Homebrew
def check_for_member_of_admin_group
groups = Utils.popen_read("groups").split
- return unless groups.include?("admin")
+ return if groups.include?("admin")
<<-EOS.undent
You are not a member of the "admin" group, which will cause