aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 03eec12a8..5bf8d03aa 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -711,6 +711,7 @@ end
def check_tmpdir
tmpdir = ENV['TMPDIR']
+ return if tmpdir.nil?
if !File.directory?(tmpdir)
puts "$TMPDIR #{tmpdir.inspect} doesn't exist."
puts