summaryrefslogtreecommitdiff
path: root/plugins/facter/mysql.rb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-02-24 01:09:31 +0000
committermh <mh@immerda.ch>2009-02-24 01:09:31 +0000
commit842da8d62bb5a1f9a173081ea2d2d8a48a645f95 (patch)
tree457ff8ea7d13d95d0dc4186f12c4239f4b32b05a /plugins/facter/mysql.rb
parent747da24243a595a2f730047b2bfd2b6d4ce2c5e6 (diff)
true and false shouldn't be strings
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