diff options
| author | Jack Nagel | 2014-05-02 10:58:22 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-02 11:00:29 -0500 |
| commit | 1d04b7747f04f4763738fa3972979077a73b7975 (patch) | |
| tree | 0b6459b559ad208bc9a16252b69c34044836e004 /Library/Homebrew/cmd/doctor.rb | |
| parent | fa066bb9e774539b8a961adaef4deba84e77806b (diff) | |
| download | homebrew-1d04b7747f04f4763738fa3972979077a73b7975.tar.bz2 | |
Apparently quiet_system isn't always quiet
cf. #28918.
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
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 |
