summaryrefslogtreecommitdiff
path: root/plugins/facter/mysql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facter/mysql.rb')
-rw-r--r--plugins/facter/mysql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/facter/mysql.rb b/plugins/facter/mysql.rb
index b8164bb..e262ec1 100644
--- a/plugins/facter/mysql.rb
+++ b/plugins/facter/mysql.rb
@@ -3,6 +3,6 @@ Facter.add("mysql_exists") do
setcode do
mysqlexists = system "which mysql > /dev/null 2>&1"
- ($?.exitstatus == 0).to_s
+ ($?.exitstatus == 0)
end
end