diff options
| author | Mike McQuaid | 2016-11-25 16:44:30 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-11-25 16:44:30 +0000 |
| commit | 64cb52ef3e4e45946678a9c6647527a94369953d (patch) | |
| tree | 111d93b5d3ad0d445ec7cdd12982a6aaeffe577e | |
| parent | 89c3348923c3450d8d32f1252abd53209b39c288 (diff) | |
| download | brew-64cb52ef3e4e45946678a9c6647527a94369953d.tar.bz2 | |
Revert "Merge pull request #1567 from cesarandreu/fix-diagnostic-conditonal"
This reverts commit 89c3348923c3450d8d32f1252abd53209b39c288, reversing
changes made to 7f13b37b903564e2a64cea982d6b84d1aa6b800b.
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index b5dd07ac5..edade67bf 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 if groups.include?("admin") + return unless groups.include?("admin") <<-EOS.undent You are not a member of the "admin" group, which will cause |
