           end
 
           IO.write "    - Ownership?: "
-          IO.write if (uid == process_uid), do: "yes" , else: "no"
+          IO.write yes_or_no(uid == process_uid)
           IO.puts " (file: #{uid}, process: #{process_uid})"
         {:error, reason} ->
           IO.puts "    Can't read path: #{reason}"


    agent_info = Poison.decode!(File.read!(Path.expand("../../../agent.json", __DIR__)))
    IO.puts "  Agent version: #{agent_info["version"]}"
    nif_loaded = if (Appsignal.Nif.loaded?), do: "yes", else: "no"
    IO.puts "  Nif loaded: #{nif_loaded}"
  end

  defp host_information do

  defp empty_line do
    IO.puts ""
  end

  defp yes_or_no(true), do: "yes"
  defp yes_or_no(false), do: "no"
end
