diff options
author | Erik Gomez <e@eriknicolasgomez.com> | 2017-01-16 11:46:33 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-01-20 11:34:40 -0800 |
commit | 872e075b47bcef3c9849e54d3abbcfa00a3a2d8d (patch) | |
tree | 7e3d9697346613ab3c7d49fbe66b9aca73673401 | |
parent | 7f5878a3b19a82384c911666454f7f57e710a9f7 (diff) | |
download | ohai-872e075b47bcef3c9849e54d3abbcfa00a3a2d8d.tar.gz |
fixed Chefstyle
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
-rw-r--r-- | lib/ohai/plugins/c.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/c.rb b/lib/ohai/plugins/c.rb index 9e223915..d7a90b39 100644 --- a/lib/ohai/plugins/c.rb +++ b/lib/ohai/plugins/c.rb @@ -38,11 +38,11 @@ Ohai.plugin(:C) do Ohai::Log.debug("Checking for Xcode Command Line Tools.") so = shell_out("/usr/bin/xcode-select -p") if so.exitstatus == 0 - return true Ohai::Log.debug("Xcode Command Line Tools found.") + return true else - return false Ohai::Log.debug("Xcode Command Line Tools not found.") + return false end rescue Ohai::Exceptions::Exec Ohai::Log.debug("xcode-select binary could not be found. Skipping data.") |