summaryrefslogtreecommitdiff
path: root/plugins/facter
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-09-29 22:14:04 +0000
committermh <mh@immerda.ch>2008-09-29 22:14:04 +0000
commit37cb4d4a8f77ca9afec0fa0fef6092cce9191184 (patch)
treec8ed2d238d83d1d6f99a8b7e8cf0c16d68d5b892 /plugins/facter
parent0403071c558b4289695420e3e9d834623a047e33 (diff)
fixed it to be usable as well on openbsd
Diffstat (limited to 'plugins/facter')
-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 8982fd3..7e40324 100644
--- a/plugins/facter/mysql.rb
+++ b/plugins/facter/mysql.rb
@@ -2,7 +2,7 @@ Facter.add("mysql_exists") do
ENV["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin"
setcode do
- mysqlexists = system "which mysql >&/dev/null"
+ mysqlexists = system "which mysql > /dev/null"
($?.exitstatus == 0).to_s
end
end