fixed it to be usable as well on openbsd

This commit is contained in:
mh 2008-09-29 22:14:04 +00:00
parent 0403071c55
commit 37cb4d4a8f

View file

@ -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