aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 00a297d34..25b451e9f 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -314,6 +314,7 @@ module Homebrew
end
def check_for_beta_xquartz
+ return unless MacOS::XQuartz.version
return unless MacOS::XQuartz.version.include? "beta"
<<-EOS.undent