summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-02 22:37:18 -0800
committerTim Smith <tsmith@chef.io>2017-12-02 22:37:18 -0800
commit365c4fefb8a45a5b6e38d357647bc00ce8143beb (patch)
tree97db72d6f77ede90bd80b5d22c15f59f9bd54b78
parent33f711936b9b8dfe0c5a6c5decef3d43c207ddee (diff)
downloadohai-365c4fefb8a45a5b6e38d357647bc00ce8143beb.tar.gz
Add missing debug log message for xlc missing on AIXmissing_log
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/plugins/c.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ohai/plugins/c.rb b/lib/ohai/plugins/c.rb
index ced74ced..a8bcebd7 100644
--- a/lib/ohai/plugins/c.rb
+++ b/lib/ohai/plugins/c.rb
@@ -134,6 +134,7 @@ Ohai.plugin(:C) do
end
end
rescue Ohai::Exceptions::Exec
+ Ohai::Log.debug("Plugin C: 'xlc' binary could not be found. Skipping data.")
end
def collect_sunpro