diff options
author | mh <mh@immerda.ch> | 2009-02-24 01:09:31 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-02-24 01:09:31 +0000 |
commit | 842da8d62bb5a1f9a173081ea2d2d8a48a645f95 (patch) | |
tree | 457ff8ea7d13d95d0dc4186f12c4239f4b32b05a /plugins/facter | |
parent | 747da24243a595a2f730047b2bfd2b6d4ce2c5e6 (diff) |
true and false shouldn't be strings
Diffstat (limited to 'plugins/facter')
-rw-r--r-- | plugins/facter/mysql.rb | 2 |
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 |