diff --git a/lib/facter/mysql_server_id.rb b/lib/facter/mysql_server_id.rb index e7196b2..3d29592 100644 --- a/lib/facter/mysql_server_id.rb +++ b/lib/facter/mysql_server_id.rb @@ -4,6 +4,6 @@ end Facter.add("mysql_server_id") do setcode do - get_mysql_id + get_mysql_id rescue nil end end