Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed fact - thanks to craigbox

  • Loading branch information...
commit 75ab365c7d945223ccab3daccf3a924e1d5e1bfc 1 parent c2a8f6d
Jeanneret Cedric authored August 06, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/facter/mysql.rb
2  lib/facter/mysql.rb
@@ -2,7 +2,7 @@
2 2
     ENV["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin"
3 3
     
4 4
     setcode do
5  
-        mysqlexists = system "which mysql >&/dev/null"
  5
+        mysqlexists = system "which mysql >/dev/null 2>&1"
6 6
         ($?.exitstatus == 0).to_s
7 7
     end
8 8
 end

0 notes on commit 75ab365

Please sign in to comment.
Something went wrong with that request. Please try again.