aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-02 10:58:22 -0500
committerJack Nagel2014-05-02 11:00:29 -0500
commit273d580550ab7badc89242d759392be813466930 (patch)
tree692fcc104cfb31daac01e8f281e1ace568a49e5d /Library
parentcf5ecfc06d0e280eff20667437770d3a21fb6dd5 (diff)
downloadbrew-273d580550ab7badc89242d759392be813466930.tar.bz2
Apparently quiet_system isn't always quiet
cf. Homebrew/homebrew#28918.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index bce3ddb4f..e5b64a596 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -59,7 +59,7 @@ class Checks
# git here to avoid multiple warnings.
def git?
return @git if instance_variable_defined?(:@git)
- @git = which("git") && quiet_system("git", "--version")
+ @git = system "git --version >/dev/null 2>&1"
end
############# END HELPERS